diff options
author | Pan7 <panter@gmx.net> | 2015-01-17 18:15:03 +0100 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2016-04-07 11:01:50 +0100 |
commit | 5bb6bcb0052aab3357d4b69d5d77b05d3f6b8f20 (patch) | |
tree | 889de4937b045a8fa9424b52d09cea80816b5a8c /src/tools/lcc/cpp | |
parent | 490d0b226e6a08433a12b356cc1460e0a50019b1 (diff) |
No unix memmove for msvc
Diffstat (limited to 'src/tools/lcc/cpp')
-rw-r--r-- | src/tools/lcc/cpp/unix.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/lcc/cpp/unix.c b/src/tools/lcc/cpp/unix.c index 3e70b562..75e5b6d3 100644 --- a/src/tools/lcc/cpp/unix.c +++ b/src/tools/lcc/cpp/unix.c @@ -105,7 +105,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 |