mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-29 08:19:42 +08:00
Fix mingw warnings
PUBLISHED_FROM=a7c1ec51999b29758d2983900add70069927b27b
This commit is contained in:
parent
7054b09584
commit
0769bbb7ff
@ -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))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user