Fix mingw warnings

PUBLISHED_FROM=a7c1ec51999b29758d2983900add70069927b27b
This commit is contained in:
Marko Mikulicic 2016-04-15 15:39:45 +01:00 committed by rojer
parent 7054b09584
commit 0769bbb7ff

View File

@ -177,8 +177,10 @@
#define vsnprintf _vsnprintf
#define sleep(x) Sleep((x) *1000)
#define to64(x) _atoi64(x)
#if !defined(__MINGW32__) && !defined(__MINGW64__)
#define popen(x, y) _popen((x), (y))
#define pclose(x) _pclose(x)
#endif
#define rmdir _rmdir
#if defined(_MSC_VER) && _MSC_VER >= 1400
#define fseeko(x, y, z) _fseeki64((x), (y), (z))