Merge pull request #108 from Pan7/memmove

No unix memmove for MSVC
This commit is contained in:
Zack Middleton committed 2015-06-18 13:13:25 -05:00
commit 9e03e606cd
1 file changed
+2 -1
+2 -1
View File
@@ -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