diff options
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/os.cpp')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/os.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/os.cpp b/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/os.cpp index f0d15cc66f..8c26257793 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/os.cpp +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/os.cpp @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2009 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_wpf_OS_##func +#endif #ifndef NO_AccessText_1AccessKey extern "C" JNIEXPORT jchar JNICALL OS_NATIVE(AccessText_1AccessKey)(JNIEnv *env, jclass that, jint arg0); |