Optimised mul, added asm string functions
[fw/sdcc] / device / lib / _strcpy.c
index 36ed816015e607d3bb760c3ebc0db3acc90796c5..6c2f9434b147d981637177a40e7d18e21fc4be66 100644 (file)
@@ -24,6 +24,8 @@
 #include "string.h" 
 #include <sdcc-lib.h>
 
+#if !_SDCC_PORT_PROVIDES_STRCPY
+
 #define NULL (void *)0
 
 char _generic *strcpy (
@@ -45,3 +47,5 @@ char _generic *strcpy (
     return d;
 #endif
 }
+
+#endif