[cairo] Patch to compile w/ VC++ 6

Carl Worth cworth at cworth.org
Fri Aug 5 10:06:47 PDT 2005

On Fri, 05 Aug 2005 08:18:04 -0700, Carl Worth wrote:
> I just committed the cairo patch, but without the two instances of
> definitions for M_PI. There are a bunch of other useful macros in
> math.h, and I don't want to get into the trap of maintaining our own
> list of them. So if there's another way to get at an existing set of
> such macros that would be preferable.

It was pointed out to me that cairoint.h had the _USE_MATH_DEFINES
thing already, so all that was really needed here was to fix a couple
of files to not include <math.h> on their own before including

Fixed in CVS now, so our M_PI situation should be much better.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20050805/d2e4150e/attachment.pgp

More information about the cairo mailing list