From 35ee0188cb85a56c7ea287cc979006d2d01d439b Mon Sep 17 00:00:00 2001 From: David Tardon Date: Wed, 27 Mar 2013 12:27:12 +0100 Subject: [PATCH] WaE: "UNX" is not defined Change-Id: I3b72efae6c3ae929eb4f26400a7c73406371c1a2 --- jvmfwk/plugins/sunmajor/pluginlib/otherjre.cxx | 4 ++-- jvmfwk/plugins/sunmajor/pluginlib/sunjre.cxx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/jvmfwk/plugins/sunmajor/pluginlib/otherjre.cxx b/jvmfwk/plugins/sunmajor/pluginlib/otherjre.cxx index d9751ac84a9d..f3ee1e3c520a 100644 --- a/jvmfwk/plugins/sunmajor/pluginlib/otherjre.cxx +++ b/jvmfwk/plugins/sunmajor/pluginlib/otherjre.cxx @@ -40,7 +40,7 @@ char const* const* OtherInfo::getJavaExePaths(int * size) #if defined(WNT) "bin/java.exe", "jre/bin/java.exe" -#elif UNX +#elif defined UNX "bin/java", "jre/bin/java" #endif @@ -57,7 +57,7 @@ char const* const* OtherInfo::getRuntimePaths(int * size) "/bin/hotspot/jvm.dll", "/bin/classic/jvm.dll", "/bin/jrockit/jvm.dll" -#elif UNX +#elif defined UNX #ifdef MACOSX "/../../../../../Frameworks/JavaVM.framework/JavaVM" //as of 1.6.0_22 #else diff --git a/jvmfwk/plugins/sunmajor/pluginlib/sunjre.cxx b/jvmfwk/plugins/sunmajor/pluginlib/sunjre.cxx index a4ff38cdaf52..d45555d7c92b 100644 --- a/jvmfwk/plugins/sunmajor/pluginlib/sunjre.cxx +++ b/jvmfwk/plugins/sunmajor/pluginlib/sunjre.cxx @@ -40,7 +40,7 @@ char const* const* SunInfo::getJavaExePaths(int * size) "java.exe", "bin/java.exe", "jre/bin/java.exe" -#elif UNX +#elif defined UNX "java", "bin/java", "jre/bin/java" @@ -59,7 +59,7 @@ char const* const* SunInfo::getRuntimePaths(int * size) "/bin/classic/jvm.dll", // The 64-bit JRE has the jvm in bin/server "/bin/server/jvm.dll" -#elif UNX +#elif defined UNX "/lib/" JFW_PLUGIN_ARCH "/client/libjvm.so", "/lib/" JFW_PLUGIN_ARCH "/server/libjvm.so", "/lib/" JFW_PLUGIN_ARCH "/classic/libjvm.so"