[cairo] WINVER stuff in cairo-win32.h

Vladimir Vukicevic vladimir at pobox.com
Sat Dec 23 16:51:09 PST 2006


----- Tor Lillqvist <tml at iki.fi> wrote:
> Carl Worth writes:
>  > As I am rolling up the 1.3.10 snapshot, I noticed the change below
> in
>  > cairo-win32.h. Is this WINVER stuff only for the benefit of the
>  > cairo-win32-surface.c code? Or is this really required for users of
>  > the install cairo-win32.h header file?
> 
> I would say this should definitely not be in the public header file.

Yeah, I don't really understand why it's needed in the first place -- if it's for cairo-win32-surface.c or for cairo-win32-font.c, then those two files need to make sure to set WINVER appropriately and to #include windows.h as the first thing.

    - Vlad



More information about the cairo mailing list