summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT PI/photon
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/photon
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/photon')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/photon/library/os.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/photon/library/os.c b/bundles/org.eclipse.swt/Eclipse SWT PI/photon/library/os.c
index 2a3e354eb1..b232a23948 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/photon/library/os.c
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/photon/library/os.c
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2008 IBM Corporation and others.
+ * Copyright (c) 2000, 2012 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -13,7 +13,9 @@
#include "os_structs.h"
#include "os_stats.h"
+#ifndef OS_NATIVE
#define OS_NATIVE(func) Java_org_eclipse_swt_internal_photon_OS_##func
+#endif
#ifndef NO_PfDecomposeStemToID
JNIEXPORT jint JNICALL OS_NATIVE(PfDecomposeStemToID)