No unix memmove for msvc

This commit is contained in:
Pan7 2015-01-17 18:15:03 +01:00
parent 36f65fd7c5
commit 16c67b96c2

View file

@ -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