mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2025-12-27 10:30:16 +01:00
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:
parent
e45077612d
commit
2b84d82bcf
1 changed files with 2 additions and 0 deletions
|
|
@ -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]))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue