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
This commit is contained in:
Andrea Canciani 2011-03-16 17:04:10 +01:00
parent e45077612d
commit 2b84d82bcf

View file

@ -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]))