Commit 1109d3aa authored by Sergey Lyubka's avatar Sergey Lyubka

Guarded #define EINPROGRESS

parent 8208d9e2
......@@ -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)
......
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