[cairo] [PIXMAN-PATCH]: Improper semicolon and MSVC fix

Boris Dušek boris.dusek at gmail.com
Mon Dec 24 17:11:37 PST 2007


Hi,

I could not find a pixman website/mailing list, so I hope it's fine to
post this here.

I have 2 patches against the latest pixman I could get from git as of now.

First patch fixes an unneeded semi-colon after last expression in a
define (since the macro is then used with semi-colon added).

Second patch defines PIXMAN_EXPORT appropriately for MSVC compiler
(using __declspec(dll{export,import})   ) - this makes the import
library for pixman to create, and thus cairo can link against pixman.
Since as a consequence the #if/#else block for PIXMAN_EXPORT became a
bit nested, I hope you don't mind I indented the whole block for
better clarity. I am assuming that PACKAGE is defined only when pixman
itself is compiled, and not defined when its headers are included by
external projects.

Regards,
Boris Dušek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-improper-semi-colon.patch
Type: application/octet-stream
Size: 760 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20071225/a26df51e/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Define-PIXMAN_EXPORT-properly-for-MSVC-compiler.patch
Type: application/octet-stream
Size: 930 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20071225/a26df51e/attachment-0001.obj 


More information about the cairo mailing list