]> git.pld-linux.org Git - packages/crossmingw32-pthreads-w32.git/blobdiff - crossmingw32-pthreads-w32-timespec.patch
- added timespec patch (avoid struct timespec conflict with mingw32-runtime time...
[packages/crossmingw32-pthreads-w32.git] / crossmingw32-pthreads-w32-timespec.patch
diff --git a/crossmingw32-pthreads-w32-timespec.patch b/crossmingw32-pthreads-w32-timespec.patch
new file mode 100644 (file)
index 0000000..322132f
--- /dev/null
@@ -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;
This page took 0.330589 seconds and 4 git commands to generate.