Index: common/osdep.h =================================================================== --- common/osdep.h (revision 670) +++ common/osdep.h (working copy) @@ -50,7 +50,7 @@ #if defined(_MSC_VER) || defined(SYS_SunOS) || defined(SYS_MACOSX) #define sqrtf sqrt #endif -#ifdef __WIN32__ +#if defined (__WIN32__) || defined(_MSC_VER) #define rename(src,dst) (unlink(dst), rename(src,dst)) // POSIX says that rename() removes the destination, but win32 doesn't. #ifndef strtok_r #define strtok_r(str,delim,save) strtok(str,delim)