# HG changeset patch # User cehoyos # Date 1319242648 0 # Node ID 61e3181426d8d46efaf578b564a309ebce11a98e # Parent 6e798fce4fc163a06aab33471bf271ade574d279 Always define HAVE_PTHREADS and HAVE_W32THREADS. This fixes a warning when compiling FFmpeg's pthreads.c: libavcodec/pthread.c:914:5: warning: "HAVE_W32THREADS" is not defined Possibly fixes compilation on some win32 systems. diff -r 6e798fce4fc1 -r 61e3181426d8 configure --- a/configure Fri Oct 21 23:15:33 2011 +0000 +++ b/configure Sat Oct 22 00:17:28 2011 +0000 @@ -3554,6 +3554,8 @@ def_threads='#define HAVE_THREADS 0' +def_pthreads='#define HAVE_PTHREADS 0' +def_w32threads='#define HAVE_W32THREADS 0' echocheck "pthread" if linux ; then @@ -3606,7 +3608,7 @@ _w32threads=no mingw32 && _w32threads=yes fi -test "$_w32threads" = yes && def_threads='#define HAVE_THREADS 1' +test "$_w32threads" = yes && def_threads='#define HAVE_THREADS 1' && def_w32threads='#define HAVE_W32THREADS 1' echores "$_w32threads" echocheck "rpath" @@ -8529,6 +8531,7 @@ $def_trunc $def_truncf $def_vf_lavfi +$def_w32threads $def_xform_asm $def_xmm_clobbers $def_yasm