[cairo] Fix OS/2 build
mozilla at weilbacher.org
Mon Nov 10 07:53:06 PST 2008
On 10.11.2008 15:59, Behdad Esfahbod wrote:
> Dave Yeo wrote:
>> Hi, this commit,
>> broke OS/2. We now get this error,
>> In file included from ./cairo-os2-private.h:41:
>> ./cairo-os2.h:56: error: syntax error before "hps_client_window"
>> ./cairo-os2.h:58: warning: function declaration isn't a prototype
>> ./cairo-os2.h:62: error: syntax error before "HWND"
>> ./cairo-os2.h:62: warning: function declaration isn't a prototype
>> ./cairo-os2.h:72: error: syntax error before "HPS"
>> The problem is that these are all defined in os2*.h. Simplest fix seems
>> to be
> Then the correct fix is to include os2*.h in cairo-os2.h.
Agreed, then one can also remove the seperate os2.h include from
cairo-os2-surface.c. Let me try to test and push the fix tonight.
Hmm, why do we actually include os2emx.h and not os2.h for GCC?
More information about the cairo