mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-09 16:21:45 +00:00
avoid defining macros already present on mingw32
This commit is contained in:
1 parent
1c6036c3ac
commit
08708435a7
2 files changed
+10
No files matched your search
@@ -139,7 +139,10 @@ typedef long off_t;
|
||||
#define flockfile(x) EnterCriticalSection(&global_log_file_lock)
|
||||
#define funlockfile(x) LeaveCriticalSection(&global_log_file_lock)
|
||||
#define sleep(x) Sleep((x) * 1000)
|
||||
|
||||
#if !defined(va_copy)
|
||||
#define va_copy(x, y) x = y
|
||||
#endif // !va_copy MINGW #defines va_copy
|
||||
|
||||
#if !defined(fileno)
|
||||
#define fileno(x) _fileno(x)
|
||||
|
||||
Reference in new issue
Block a user