X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=device%2Flib%2F_strcpy.c;h=6c2f9434b147d981637177a40e7d18e21fc4be66;hb=a71e3529acf4739d5c8590d2507cd0929efb52a1;hp=36ed816015e607d3bb760c3ebc0db3acc90796c5;hpb=c467bb8cbcd4e06af2b89185b4a4c7298c78e72f;p=fw%2Fsdcc diff --git a/device/lib/_strcpy.c b/device/lib/_strcpy.c index 36ed8160..6c2f9434 100644 --- a/device/lib/_strcpy.c +++ b/device/lib/_strcpy.c @@ -24,6 +24,8 @@ #include "string.h" #include +#if !_SDCC_PORT_PROVIDES_STRCPY + #define NULL (void *)0 char _generic *strcpy ( @@ -45,3 +47,5 @@ char _generic *strcpy ( return d; #endif } + +#endif