Commit fcf60380 authored by xantares's avatar xantares
Browse files

mingw has STRUCT_TIMESPEC

parent 3c328f39
...@@ -109,11 +109,14 @@ ...@@ -109,11 +109,14 @@
/* Include everything */ /* Include everything */
#endif #endif
#ifdef _UWIN #if defined(_UWIN)
# define HAVE_STRUCT_TIMESPEC 1 # define HAVE_STRUCT_TIMESPEC 1
# define HAVE_SIGNAL_H 1 # define HAVE_SIGNAL_H 1
# undef HAVE_CONFIG_H # undef HAVE_CONFIG_H
# pragma comment(lib, "pthread") # pragma comment(lib, "pthread")
#elif defined(__MINGW32__)
# define HAVE_STRUCT_TIMESPEC 1
# define HAVE_SIGNAL_H 1
#endif #endif
/* /*
......
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