Optimised mul, added asm string functions
[fw/sdcc] / device / lib / _memcpy.c
index ce087f2fabd9b70ab26777b408b75e58a57346ba..ec1ba04f8f49640d4b5564531c60ec99bd6b590e 100644 (file)
@@ -24,6 +24,8 @@
 #include "string.h" 
 #include <sdcc-lib.h>
 
+#if !_SDCC_PORT_PROVIDES_MEMCPY
+
 #define NULL (void *)0
 
 #pragma NOINDUCTION
@@ -72,3 +74,4 @@ void _generic * memcpy (
        return(ret);
 #endif
 }
+#endif