summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSilenio Quarti <silenio_quarti@ca.ibm.com>2012-06-26 15:32:39 -0400
committerSilenio Quarti <silenio_quarti@ca.ibm.com>2012-06-26 15:32:39 -0400
commit5d27960036a124e29d079704c28d3c5d84b6b86a (patch)
treeb8816bacd07af63de5b976bebb9a34a436ddce04
parent1e94525534695ca6bcba1ad1e902d7cb7ec23a38 (diff)
downloadeclipse.platform.swt-5d27960036a124e29d079704c28d3c5d84b6b86a.tar.gz
eclipse.platform.swt-5d27960036a124e29d079704c28d3c5d84b6b86a.tar.xz
eclipse.platform.swt-5d27960036a124e29d079704c28d3c5d84b6b86a.zip
jni generator change
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Program/gnome/library/gnome.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Program/gnome/library/gnome.c b/bundles/org.eclipse.swt/Eclipse SWT Program/gnome/library/gnome.c
index 03c2742820..df76c02dc7 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Program/gnome/library/gnome.c
+++ b/bundles/org.eclipse.swt/Eclipse SWT Program/gnome/library/gnome.c
@@ -17,7 +17,9 @@
#include "gnome_structs.h"
#include "gnome_stats.h"
+#ifndef GNOME_NATIVE
#define GNOME_NATIVE(func) Java_org_eclipse_swt_internal_gnome_GNOME_##func
+#endif
#ifndef NO_GnomeVFSMimeApplication_1sizeof
JNIEXPORT jint JNICALL GNOME_NATIVE(GnomeVFSMimeApplication_1sizeof)