Hi, On Sat, Oct 10, 2015 at 10:32 PM, Dave Yeo <daver...@telus.net> wrote:
> Based on code by Yuri Dario, > http://svn.netlabs.org/repos/ports/pthread/trunk > > Signed-off-by: Dave Yeo <daver...@telus.net> > --- > compat/os2threads.h | 45 +++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 45 insertions(+) > > diff --git a/compat/os2threads.h b/compat/os2threads.h > index 5b6ca55..7f2c925 100644 > --- a/compat/os2threads.h > +++ b/compat/os2threads.h > @@ -31,9 +31,18 @@ > > #undef __STRICT_ANSI__ /* for _beginthread() */ > #include <stdlib.h> > +#include <sys/builtin.h> > > #include "libavutil/mem.h" > > +/* > + * Boolean values to make us independent of system includes. > + */ > +enum { > + PTW32_FALSE = 0, > + PTW32_TRUE = (! PTW32_FALSE) > +}; > + I know this is os2 specific code, but do we really need this part? Ronald _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel