diff options
author | Felipe Heidrich <fheidric> | 2007-01-26 23:26:56 +0000 |
---|---|---|
committer | Felipe Heidrich <fheidric> | 2007-01-26 23:26:56 +0000 |
commit | 6f962e3a053bd8c18a3e154a7ac0ad1ba2aeb3fe (patch) | |
tree | 7e2a9bb6541e24eef6fe46c8231185cbb7149093 /bundles/org.eclipse.swt/Eclipse SWT Program | |
parent | 579505f5c399bb89f97d98e9912b18625d2312e2 (diff) | |
download | eclipse.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 Program')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT Program/cde/library/cde_stats.h | 4 | ||||
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT Program/gnome/library/gnome_stats.h | 4 |
2 files changed, 8 insertions, 0 deletions
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, |