summaryrefslogtreecommitdiff
path: root/jvmfwk/plugins/sunmajor/pluginlib/otherjre.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'jvmfwk/plugins/sunmajor/pluginlib/otherjre.cxx')
-rw-r--r--jvmfwk/plugins/sunmajor/pluginlib/otherjre.cxx4
1 files changed, 2 insertions, 2 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