From 6f962e3a053bd8c18a3e154a7ac0ad1ba2aeb3fe Mon Sep 17 00:00:00 2001 From: Felipe Heidrich Date: Fri, 26 Jan 2007 23:26:56 +0000 Subject: new jni tool (support wpf) --- bundles/org.eclipse.swt/Eclipse SWT Program/cde/library/cde_stats.h | 4 ++++ .../org.eclipse.swt/Eclipse SWT Program/gnome/library/gnome_stats.h | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'bundles/org.eclipse.swt/Eclipse SWT Program') diff --git a/bundles/org.eclipse.swt/Eclipse SWT Program/cde/library/cde_stats.h b/bundles/org.eclipse.swt/Eclipse SWT Program/cde/library/cde_stats.h index c8d244bbf3..3249569ce1 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT Program/cde/library/cde_stats.h +++ b/bundles/org.eclipse.swt/Eclipse SWT Program/cde/library/cde_stats.h @@ -16,9 +16,13 @@ extern char* CDE_nativeFunctionNames[]; #define CDE_NATIVE_ENTER(env, that, func) CDE_nativeFunctionCallCount[func]++; #define CDE_NATIVE_EXIT(env, that, func) #else +#ifndef CDE_NATIVE_ENTER #define CDE_NATIVE_ENTER(env, that, func) +#endif +#ifndef CDE_NATIVE_EXIT #define CDE_NATIVE_EXIT(env, that, func) #endif +#endif typedef enum { DtActionArg_1sizeof_FUNC, diff --git a/bundles/org.eclipse.swt/Eclipse SWT Program/gnome/library/gnome_stats.h b/bundles/org.eclipse.swt/Eclipse SWT Program/gnome/library/gnome_stats.h index 69ef29a128..2b9693213a 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT Program/gnome/library/gnome_stats.h +++ b/bundles/org.eclipse.swt/Eclipse SWT Program/gnome/library/gnome_stats.h @@ -20,9 +20,13 @@ extern char* GNOME_nativeFunctionNames[]; #define GNOME_NATIVE_ENTER(env, that, func) GNOME_nativeFunctionCallCount[func]++; #define GNOME_NATIVE_EXIT(env, that, func) #else +#ifndef GNOME_NATIVE_ENTER #define GNOME_NATIVE_ENTER(env, that, func) +#endif +#ifndef GNOME_NATIVE_EXIT #define GNOME_NATIVE_EXIT(env, that, func) #endif +#endif typedef enum { GnomeVFSMimeApplication_1sizeof_FUNC, -- cgit