[cairo] Fix OS/2 build

Peter Weilbacher mozilla at weilbacher.org
Tue Nov 11 00:24:35 PST 2008

On 11.11.2008 01:37, Dave Yeo wrote:
> We also seem to get the same problem with including os2emx.h since by 
> default os2.h includes os2emx.h. eg, the error that started this thread 
> was actually caused by having
> #define INCL_DOS
> #define INCL_NOPMAPI
> #include <os2.h>
> in pthread.h (Yuri's port)

OK, I was wondering why I don't get the same error as you. I don't have
pthread installed... But I'm getting more and more confused as to what the
real fix would be and if we actually need one. Should we reshuffle the
cairo-os2.h include _and_ use os2.h directly instead of os2emx.h? Is
pthread.h also involved in your build problem in the Mozilla environment?


More information about the cairo mailing list