From 2b84d82bcfb6c89ececfdfe4f4e10bb631050131 Mon Sep 17 00:00:00 2001 From: Andrea Canciani Date: Wed, 16 Mar 2011 17:04:10 +0100 Subject: [PATCH] test: Silence gcc api-special-cases.c:94:1: warning: "Cursor" redefined api-special-cases.c:81:1: warning: this is the location of the previous definition --- test/api-special-cases.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/api-special-cases.c b/test/api-special-cases.c index 95a0a7c16..6e51fe605 100644 --- a/test/api-special-cases.c +++ b/test/api-special-cases.c @@ -80,6 +80,7 @@ #if CAIRO_HAS_QUARTZ_SURFACE #define Cursor QuartzCursor #include +#undef Cursor #endif #if CAIRO_HAS_SVG_SURFACE #include @@ -93,6 +94,7 @@ #if CAIRO_HAS_XLIB_SURFACE #define Cursor XCursor #include +#undef Cursor #endif #define ARRAY_LENGTH(array) (sizeof (array) / sizeof ((array)[0]))