diff options
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/wpf_win32')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT PI/wpf_win32/library/win32.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/wpf_win32/library/win32.c b/bundles/org.eclipse.swt/Eclipse SWT PI/wpf_win32/library/win32.c index 54cfe03c00..06796a84cd 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/wpf_win32/library/win32.c +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/wpf_win32/library/win32.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 "win32_structs.h" #include "win32_stats.h" +#ifndef Win32_NATIVE #define Win32_NATIVE(func) Java_org_eclipse_swt_internal_win32_Win32_##func +#endif #ifndef NO_CloseHandle JNIEXPORT jboolean JNICALL Win32_NATIVE(CloseHandle) |