Commit 0769bbb7 authored by Marko Mikulicic's avatar Marko Mikulicic Committed by rojer

Fix mingw warnings

PUBLISHED_FROM=a7c1ec51999b29758d2983900add70069927b27b
parent 7054b095
...@@ -177,8 +177,10 @@ ...@@ -177,8 +177,10 @@
#define vsnprintf _vsnprintf #define vsnprintf _vsnprintf
#define sleep(x) Sleep((x) *1000) #define sleep(x) Sleep((x) *1000)
#define to64(x) _atoi64(x) #define to64(x) _atoi64(x)
#if !defined(__MINGW32__) && !defined(__MINGW64__)
#define popen(x, y) _popen((x), (y)) #define popen(x, y) _popen((x), (y))
#define pclose(x) _pclose(x) #define pclose(x) _pclose(x)
#endif
#define rmdir _rmdir #define rmdir _rmdir
#if defined(_MSC_VER) && _MSC_VER >= 1400 #if defined(_MSC_VER) && _MSC_VER >= 1400
#define fseeko(x, y, z) _fseeki64((x), (y), (z)) #define fseeko(x, y, z) _fseeki64((x), (y), (z))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment