diff options
author | Andrea Canciani <ranma42@gmail.com> | 2011-03-16 17:04:10 +0100 |
---|---|---|
committer | Andrea Canciani <ranma42@gmail.com> | 2011-03-17 16:47:44 +0100 |
commit | 2b84d82bcfb6c89ececfdfe4f4e10bb631050131 (patch) | |
tree | 06d762ed8038747329985ef158ba90156f163602 /test/api-special-cases.c | |
parent | e45077612d789eaf77fea727135d4b4bdb6c90f2 (diff) | |
download | cairo-2b84d82bcfb6c89ececfdfe4f4e10bb631050131.tar.gz |
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
Diffstat (limited to 'test/api-special-cases.c')
-rw-r--r-- | test/api-special-cases.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 <cairo-quartz.h> +#undef Cursor #endif #if CAIRO_HAS_SVG_SURFACE #include <cairo-svg.h> @@ -93,6 +94,7 @@ #if CAIRO_HAS_XLIB_SURFACE #define Cursor XCursor #include <cairo-xlib.h> +#undef Cursor #endif #define ARRAY_LENGTH(array) (sizeof (array) / sizeof ((array)[0])) |