1
0
Fork 0

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
This commit is contained in:
Sjoerd van der Berg 2002-09-18 15:28:46 +00:00
parent d0fc1da99b
commit ac538811eb

View file

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