dmuratshin 9 years ago
parent
commit
1dfeefe559
1 changed files with 1 additions and 1 deletions
  1. 1 1
      oxygine/third_party/win32_mingw/pthreads/include/pthread.h

+ 1 - 1
oxygine/third_party/win32_mingw/pthreads/include/pthread.h

@@ -315,7 +315,7 @@ enum {
 
 
 #if !defined(HAVE_STRUCT_TIMESPEC)
 #if !defined(HAVE_STRUCT_TIMESPEC)
 #define HAVE_STRUCT_TIMESPEC
 #define HAVE_STRUCT_TIMESPEC
-#if !defined(_TIMESPEC_DEFINED)
+#if !defined(_TIMESPEC_DEFINED) && !defined(__struct_timespec_defined)
 #define _TIMESPEC_DEFINED
 #define _TIMESPEC_DEFINED
 struct timespec {
 struct timespec {
         time_t tv_sec;
         time_t tv_sec;