X-Git-Url: http://git.pld-linux.org/?p=packages%2Fcrossmingw32-pthreads-w32.git;a=blobdiff_plain;f=crossmingw32-pthreads-w32-timespec.patch;fp=crossmingw32-pthreads-w32-timespec.patch;h=322132fd441e58babd40d438fe29eeaf089d862b;hp=0000000000000000000000000000000000000000;hb=8442f4abe5143be86c1e54d6400317384431845d;hpb=4056c0d3411990f2fdebd13f4a27818a8e3c8eb4 diff --git a/crossmingw32-pthreads-w32-timespec.patch b/crossmingw32-pthreads-w32-timespec.patch new file mode 100644 index 0000000..322132f --- /dev/null +++ b/crossmingw32-pthreads-w32-timespec.patch @@ -0,0 +1,11 @@ +--- pthreads-w32-2-9-1-release/pthread.h.orig 2012-05-27 06:16:45.000000000 +0200 ++++ pthreads-w32-2-9-1-release/pthread.h 2018-12-09 12:42:13.610057177 +0100 +@@ -315,7 +315,7 @@ + + #if !defined(HAVE_STRUCT_TIMESPEC) + #define HAVE_STRUCT_TIMESPEC +-#if !defined(_TIMESPEC_DEFINED) ++#if !defined(_TIMESPEC_DEFINED) && !defined(__struct_timespec_defined) + #define _TIMESPEC_DEFINED + struct timespec { + time_t tv_sec;