]> git.pld-linux.org Git - packages/crossmingw32-pthreads-w32.git/blob - 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
1 --- pthreads-w32-2-9-1-release/pthread.h.orig   2012-05-27 06:16:45.000000000 +0200
2 +++ pthreads-w32-2-9-1-release/pthread.h        2018-12-09 12:42:13.610057177 +0100
3 @@ -315,7 +315,7 @@
4  
5  #if !defined(HAVE_STRUCT_TIMESPEC)
6  #define HAVE_STRUCT_TIMESPEC
7 -#if !defined(_TIMESPEC_DEFINED)
8 +#if !defined(_TIMESPEC_DEFINED) && !defined(__struct_timespec_defined)
9  #define _TIMESPEC_DEFINED
10  struct timespec {
11          time_t tv_sec;
This page took 0.0576 seconds and 3 git commands to generate.