summaryrefslogtreecommitdiffstats
path: root/src/java/com
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-12-15 23:50:40 +0100
committerSven Gothel <[email protected]>2010-12-15 23:50:40 +0100
commitec94e46d253b63a40ad6a2f631cee7ad1041376a (patch)
tree2895587c7b45c8d55c8c3f9364a9899c8f5d66fc /src/java/com
parentb93c8fe1e4546eb67b1098ef8b9d224992b90af8 (diff)
Fix refactor bug: os -> os_lc in strings, reverted.
Diffstat (limited to 'src/java/com')
-rw-r--r--src/java/com/jogamp/common/os/Platform.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/java/com/jogamp/common/os/Platform.java b/src/java/com/jogamp/common/os/Platform.java
index c6075e3..3bd9966 100644
--- a/src/java/com/jogamp/common/os/Platform.java
+++ b/src/java/com/jogamp/common/os/Platform.java
@@ -104,12 +104,12 @@ public class Platform {
(os_lc.startsWith("windows") && arch_lc.equals("arm")) ||
(os_lc.startsWith("linux") && arch_lc.equals("i386")) ||
(os_lc.startsWith("linux") && arch_lc.equals("x86")) ||
- (os_lc.startsWith("mac os_lc") && arch_lc.equals("ppc")) ||
- (os_lc.startsWith("mac os_lc") && arch_lc.equals("i386")) ||
+ (os_lc.startsWith("mac os") && arch_lc.equals("ppc")) ||
+ (os_lc.startsWith("mac os") && arch_lc.equals("i386")) ||
(os_lc.startsWith("darwin") && arch_lc.equals("ppc")) ||
(os_lc.startsWith("darwin") && arch_lc.equals("i386")) ||
- (os_lc.startsWith("sunos_lc") && arch_lc.equals("sparc")) ||
- (os_lc.startsWith("sunos_lc") && arch_lc.equals("x86")) ||
+ (os_lc.startsWith("sunos") && arch_lc.equals("sparc")) ||
+ (os_lc.startsWith("sunos") && arch_lc.equals("x86")) ||
(os_lc.startsWith("freebsd") && arch_lc.equals("i386")) ||
(os_lc.startsWith("hp-ux") && arch_lc.equals("pa_risc2.0"))) {
return true;
@@ -117,10 +117,10 @@ public class Platform {
(os_lc.startsWith("linux") && arch_lc.equals("amd64")) ||
(os_lc.startsWith("linux") && arch_lc.equals("x86_64")) ||
(os_lc.startsWith("linux") && arch_lc.equals("ia64")) ||
- (os_lc.startsWith("mac os_lc") && arch_lc.equals("x86_64")) ||
+ (os_lc.startsWith("mac os") && arch_lc.equals("x86_64")) ||
(os_lc.startsWith("darwin") && arch_lc.equals("x86_64")) ||
- (os_lc.startsWith("sunos_lc") && arch_lc.equals("sparcv9")) ||
- (os_lc.startsWith("sunos_lc") && arch_lc.equals("amd64"))) {
+ (os_lc.startsWith("sunos") && arch_lc.equals("sparcv9")) ||
+ (os_lc.startsWith("sunos") && arch_lc.equals("amd64"))) {
return false;
}else{
throw new RuntimeException("Please port CPU detection (32/64 bit) to your platform (" + os_lc + "/" + arch_lc + ")");