From ac538811ebcb2b846ee831b82ba4d9ac4d00dd0e Mon Sep 17 00:00:00 2001 From: Sjoerd van der Berg Date: Wed, 18 Sep 2002 15:28:46 +0000 Subject: [PATCH] Made the visual C special #defines for WIN32 to fix some errors with mingw32 compiling. Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@290 --- include/cross.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/cross.h b/include/cross.h index 2dc3d2cf..65066cd8 100644 --- a/include/cross.h +++ b/include/cross.h @@ -34,7 +34,7 @@ #define CROSS_LEN 512 /* Maximum filename size */ -#if defined (_MSC_VER) /* MS Visual C++ */ +#if defined (WIN32) /* Win 32 */ #define CROSS_FILENAME(blah) #define CROSS_FILESPLIT '\\' #define F_OK 0 @@ -46,7 +46,7 @@ #define CROSS_NONE 0 #define CROSS_FILE 1 #define CROSS_DIR 2 -#if defined (_MSC_VER) +#if defined (WIN32) #define ftruncate(blah,blah2) chsize(blah,blah2) #endif