Fixe bug #84 (mingw gives '_SH_DENYWR' was not declared in this scope')

This commit is contained in:
gabime 2015-04-28 01:13:33 +03:00
parent 9600028521
commit da8024854e

View File

@ -32,6 +32,9 @@
# define WIN32_LEAN_AND_MEAN
# endif
# include <Windows.h>
#ifdef __MINGW32__
#include <share.h>
#endif
#elif __linux__
#include <sys/syscall.h> //Use gettid() syscall under linux to get thread id
#include <unistd.h>