mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-10-15 03:48:24 +08:00
Don't define ftruncate in MinGW builds.
Resolves: ../../include/cross.h:62:0: warning: "ftruncate" redefined #define ftruncate(blah,blah2) chsize(blah,blah2)
This commit is contained in:
@@ -58,7 +58,7 @@
|
||||
#define CROSS_NONE 0
|
||||
#define CROSS_FILE 1
|
||||
#define CROSS_DIR 2
|
||||
#if defined (WIN32)
|
||||
#if defined (WIN32) && !defined (__MINGW32__)
|
||||
#define ftruncate(blah,blah2) chsize(blah,blah2)
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user