From 12646f81cafa01c04e864a98c4344e16d958e980 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 28 May 2008 16:46:55 -0400 Subject: [PATCH] [cairo-compiler-private] Make it build with wine One can build cairo with wine easily now: ./configure CC=winegcc LD=winegcc --- src/cairo-compiler-private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cairo-compiler-private.h b/src/cairo-compiler-private.h index 06d3bfdaa..3ce906c09 100644 --- a/src/cairo-compiler-private.h +++ b/src/cairo-compiler-private.h @@ -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