[cairo-compiler-private] Make it build with wine

One can build cairo with wine easily now:

./configure CC=winegcc LD=winegcc
This commit is contained in:
Behdad Esfahbod 2008-05-28 16:46:55 -04:00
parent b70e6e1d98
commit 12646f81ca

View file

@ -111,7 +111,7 @@ CAIRO_BEGIN_DECLS
#define __attribute__(x)
#endif
#if defined(__WIN32__) || defined(_MSC_VER)
#if (defined(__WIN32__) && !defined(__WINE__)) || defined(_MSC_VER)
#define snprintf _snprintf
#endif