summaryrefslogtreecommitdiff
path: root/Kernel/StdLib.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/StdLib.h')
-rw-r--r--Kernel/StdLib.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/Kernel/StdLib.h b/Kernel/StdLib.h
index f507773e55..ee7cd18c33 100644
--- a/Kernel/StdLib.h
+++ b/Kernel/StdLib.h
@@ -2,7 +2,17 @@
#include "types.h"
+#if 0
+inline void memcpy(void *dest, const void *src, DWORD n)
+{
+ BYTE* bdest = (BYTE*)dest;
+ const BYTE* bsrc = (const BYTE*)src;
+ for (; n; --n)
+ *(bdest++) = *(bsrc++);
+}
+#else
void memcpy(void*, const void*, DWORD);
+#endif
void strcpy(char*, const char*);
int strcmp(char const*, const char*);
DWORD strlen(const char*);