summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/os.c
diff options
context:
space:
mode:
authorSilenio Quarti <silenio_quarti@ca.ibm.com>2012-03-29 17:23:51 -0400
committerSilenio Quarti <silenio_quarti@ca.ibm.com>2012-03-29 17:23:51 -0400
commitc742be31d3e1604d8d4956fde8d816377bf5b0d0 (patch)
treef8007e1774c53cdff7359a0c1b58e96e20fff409 /bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/os.c
parent58df76a2e50f26900ab1ed223960bfd79d3eba45 (diff)
downloadeclipse.platform.swt-c742be31d3e1604d8d4956fde8d816377bf5b0d0.tar.gz
eclipse.platform.swt-c742be31d3e1604d8d4956fde8d816377bf5b0d0.tar.xz
eclipse.platform.swt-c742be31d3e1604d8d4956fde8d816377bf5b0d0.zip
need to be able to overwrite native package name (actual code)
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/os.c')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/os.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/os.c b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/os.c
index 9c5c684d0d..c536fa81dc 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/os.c
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/os.c
@@ -13,7 +13,9 @@
#include "os_structs.h"
#include "os_stats.h"
+#ifndef OS_NATIVE
#define OS_NATIVE(func) Java_org_eclipse_swt_internal_win32_OS_##func
+#endif
#ifndef NO_ACCEL_1sizeof
JNIEXPORT jint JNICALL OS_NATIVE(ACCEL_1sizeof)