[MPlayer-dev-eng] [PATCH] #undef HAVE_THREADS vs #define HAVE_THREADS 0

Dave Yeo dave.r.yeo at gmail.com
Sun Mar 15 07:00:53 CET 2009


Hi, without pthreads installed (on OS/2) I get this error,

utils.c: In function 'avcodec_close':
utils.c:593: error: 'HAVE_THREADS' undeclared (first use in this function)
utils.c:593: error: (Each undeclared identifier is reported only once
utils.c:593: error: for each function it appears in.)

Attached patch seems like a better solution.
Dave

-------------- next part --------------
A non-text attachment was scrubbed...
Name: undef_threads.diff
Type: application/x-diff
Size: 336 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20090314/b512fdf0/attachment.bin>


More information about the MPlayer-dev-eng mailing list