From 16c67b96c2374eba4ed20c44fecedd7365b04d4d Mon Sep 17 00:00:00 2001 From: Pan7 Date: Sat, 17 Jan 2015 18:15:03 +0100 Subject: [PATCH] No unix memmove for msvc --- code/tools/lcc/cpp/unix.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/tools/lcc/cpp/unix.c b/code/tools/lcc/cpp/unix.c index bd879448..3534babd 100644 --- a/code/tools/lcc/cpp/unix.c +++ b/code/tools/lcc/cpp/unix.c @@ -99,7 +99,8 @@ char *basepath( char *fname ) /* 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 -#ifndef MACOS_X /* always use the system memmove() on Mac OS X. --ryan. */ +/* always use the system memmove() on Mac OS X. --ryan. */ +#if !defined(MACOS_X) && !defined(_MSC_VER) #ifdef memmove #undef memmove #endif