Skip to content

Commit ce08f41

Browse files
thrimborJayFoxRox
authored andcommitted
Fix compilation on msys2/mingw
1 parent 2da27ca commit ce08f41

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

extract-xiso.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,8 +323,9 @@
323323
#define S_ISREG( x ) ( ( x ) & _S_IFREG )
324324

325325
#include "win32/getopt.c"
326+
#ifdef _MSC_VER
326327
#include "win32/asprintf.c"
327-
328+
#endif
328329
#define lseek _lseeki64
329330
#define mkdir( a, b ) mkdir( a )
330331

0 commit comments

Comments
 (0)