From 022e03f4b3d1b20e981d75e45f8898da8270cd3a Mon Sep 17 00:00:00 2001 From: David Given Date: Thu, 29 Oct 2015 00:25:35 +0100 Subject: [PATCH] Work around sdcc oddness (it defines strcpy() as a macro). --- Library/libs/strcpy.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Library/libs/strcpy.c b/Library/libs/strcpy.c index 5b15a2ce..2314f7f4 100644 --- a/Library/libs/strcpy.c +++ b/Library/libs/strcpy.c @@ -7,6 +7,7 @@ #include /********************** Function strcpy ************************************/ +#undef strcpy char *strcpy(char *d, const char *s) { return memcpy(d, s, strlen(s) + 1); -- 2.34.1