[cairo] Patches for compilation in Win32

Vladimir Vukicevic vladimir at pobox.com
Wed Feb 6 14:52:14 PST 2008


On Feb 6, 2008, at 2:23 PM, Antoine Azar wrote:

> Hey Behdad,
>
> Here's finally the Win32 patch. Fixes compilation and linking  
> errors, and adds debug and release configs to the win32 makefiles.
>
> There's still the getopt error present on Win32 which I bypass on my  
> local machine with code from GNU's C library. It would be good to  
> check if we can either include it in the perf code (license issues?)  
> or parse command line arguments without it.

Ah, I forgot I looked into this last week -- I found a simplified  
getopt that's BSD-licensed that we could drop in without any license  
issues at http://sourceforge.net/projects/freegetopt/ .  I'd actually  
suggest calling this _cairo_getopt or something and linking it in as  
part of boilerplate so that both perf and normal tests have access to  
it.

     - Vlad



More information about the cairo mailing list