mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-14 10:20:01 +00:00
Guarded #define EINPROGRESS
This commit is contained in:
1 parent
8208d9e250
commit
1109d3aa3c
1 file changed
+2
@@ -64,7 +64,9 @@ typedef struct _stati64 file_stat_t;
|
||||
#define snprintf _snprintf
|
||||
#define vsnprintf _vsnprintf
|
||||
#define INT64_FMT "I64d"
|
||||
#ifndef EINPROGRESS
|
||||
#define EINPROGRESS WSAEINPROGRESS
|
||||
#endif
|
||||
#define mutex_init(x) InitializeCriticalSection(x)
|
||||
#define mutex_destroy(x) DeleteCriticalSection(x)
|
||||
#define mutex_lock(x) EnterCriticalSection(x)
|
||||
|
||||
Reference in new issue
Block a user