aboutsummaryrefslogtreecommitdiffstats
path: root/code/tools/lcc
diff options
context:
space:
mode:
Diffstat (limited to 'code/tools/lcc')
-rw-r--r--code/tools/lcc/cpp/unix.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/code/tools/lcc/cpp/unix.c b/code/tools/lcc/cpp/unix.c
index a845a60..749736c 100644
--- a/code/tools/lcc/cpp/unix.c
+++ b/code/tools/lcc/cpp/unix.c
@@ -92,6 +92,10 @@ setup(int argc, char **argv)
/* memmove is defined here because some vendors don't provide it at
all and others do a terrible job (like calling malloc) */
+// -- ouch, that hurts -- ln
+#ifdef memmove
+#undef memmove
+#endif
void *
memmove(void *dp, const void *sp, size_t n)
{