]> git.sesse.net Git - vlc/blob - extras/contrib/src/Patches/pthreads-win64.patch
Contribs: compile pthread on Win64
[vlc] / extras / contrib / src / Patches / pthreads-win64.patch
1 --- pthreads/pthread.h  2006-01-24 14:59:57.000000000 +0100
2 +++ pthreads.new/pthread.h      2010-04-14 15:49:39.000000000 +0200
3 @@ -302,7 +302,7 @@
4  #endif
5  #endif
6  
7 -#ifndef HAVE_STRUCT_TIMESPEC
8 +#if !defined( HAVE_STRUCT_TIMESPEC ) && !defined( _TIMESPEC_DEFINED )
9  #define HAVE_STRUCT_TIMESPEC 1
10  struct timespec {
11          long tv_sec;