]> git.sesse.net Git - vlc/blob - contrib/src/pthreads/pthreads-win64.patch
old contribs: enable ebml/matroska for android, disable live555
[vlc] / contrib / src / pthreads / 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;
12 diff -urN pthreads/GNUmakefile pthreads.new/GNUmakefile
13 --- pthreads/GNUmakefile        2010-10-08 22:30:43.029264998 +0200
14 +++ pthreads.new/GNUmakefile    2010-10-08 22:30:55.989265032 +0200
15 @@ -63,7 +63,7 @@
16  XOPT   =
17  
18  RCFLAGS                = --include-dir=.
19 -LFLAGS         = -lwsock32
20 +LFLAGS         = -lws2_32
21  
22  # ----------------------------------------------------------------------
23  # The library can be built with some alternative behaviour to