diff options
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/cairo/library/cairo.c')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT PI/cairo/library/cairo.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cairo/library/cairo.c b/bundles/org.eclipse.swt/Eclipse SWT PI/cairo/library/cairo.c index dc65b249e9..72220cf07f 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cairo/library/cairo.c +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cairo/library/cairo.c @@ -23,7 +23,9 @@ #include "cairo_structs.h" #include "cairo_stats.h" +#ifndef Cairo_NATIVE #define Cairo_NATIVE(func) Java_org_eclipse_swt_internal_cairo_Cairo_##func +#endif #ifndef NO_CAIRO_1VERSION_1ENCODE JNIEXPORT jint JNICALL Cairo_NATIVE(CAIRO_1VERSION_1ENCODE) |