summaryrefslogtreecommitdiff
path: root/embeddedobj/test
diff options
context:
space:
mode:
Diffstat (limited to 'embeddedobj/test')
-rw-r--r--embeddedobj/test/Container1/nativelib/nativeview.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/embeddedobj/test/Container1/nativelib/nativeview.c b/embeddedobj/test/Container1/nativelib/nativeview.c
index adee0e86a583..dfd1adbac972 100644
--- a/embeddedobj/test/Container1/nativelib/nativeview.c
+++ b/embeddedobj/test/Container1/nativelib/nativeview.c
@@ -17,7 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifdef WNT
+#ifdef _WIN32
#include <windows.h>
// property name to register own window procedure on hwnd
@@ -67,7 +67,7 @@ JNIEXPORT jlong JNICALL Java_embeddedobj_test_NativeView_getNativeWindow
JAWT awt ;
JAWT_DrawingSurface* ds ;
JAWT_DrawingSurfaceInfo* dsi ;
-#ifdef WNT
+#ifdef _WIN32
JAWT_Win32DrawingSurfaceInfo* dsi_win ;
#else
// FIXME: Where is dsi_x11 defined?
@@ -94,7 +94,7 @@ JNIEXPORT jlong JNICALL Java_embeddedobj_test_NativeView_getNativeWindow
dsi = ds->GetDrawingSurfaceInfo(ds);
/* Get the platform-specific drawing info */
-#ifdef WNT
+#ifdef _WIN32
dsi_win = (JAWT_Win32DrawingSurfaceInfo*)dsi->platformInfo;
drawable = (jlong)dsi_win->hwnd;
#else