summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT PI/cairo/library/cairo_stats.h
diff options
context:
space:
mode:
authorFelipe Heidrich <fheidric>2007-01-26 23:26:56 +0000
committerFelipe Heidrich <fheidric>2007-01-26 23:26:56 +0000
commit6f962e3a053bd8c18a3e154a7ac0ad1ba2aeb3fe (patch)
tree7e2a9bb6541e24eef6fe46c8231185cbb7149093 /bundles/org.eclipse.swt/Eclipse SWT PI/cairo/library/cairo_stats.h
parent579505f5c399bb89f97d98e9912b18625d2312e2 (diff)
downloadeclipse.platform.swt-6f962e3a053bd8c18a3e154a7ac0ad1ba2aeb3fe.tar.gz
eclipse.platform.swt-6f962e3a053bd8c18a3e154a7ac0ad1ba2aeb3fe.tar.xz
eclipse.platform.swt-6f962e3a053bd8c18a3e154a7ac0ad1ba2aeb3fe.zip
new jni tool (support wpf)
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/cairo/library/cairo_stats.h')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/cairo/library/cairo_stats.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cairo/library/cairo_stats.h b/bundles/org.eclipse.swt/Eclipse SWT PI/cairo/library/cairo_stats.h
index 2f3098cb37..b0d2e8fcbf 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/cairo/library/cairo_stats.h
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cairo/library/cairo_stats.h
@@ -26,9 +26,13 @@ extern char* Cairo_nativeFunctionNames[];
#define Cairo_NATIVE_ENTER(env, that, func) Cairo_nativeFunctionCallCount[func]++;
#define Cairo_NATIVE_EXIT(env, that, func)
#else
+#ifndef Cairo_NATIVE_ENTER
#define Cairo_NATIVE_ENTER(env, that, func)
+#endif
+#ifndef Cairo_NATIVE_EXIT
#define Cairo_NATIVE_EXIT(env, that, func)
#endif
+#endif
typedef enum {
cairo_1append_1path_FUNC,