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:
parent
d0fc1da99b
commit
ac538811eb
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue