From ec94e46d253b63a40ad6a2f631cee7ad1041376a Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Wed, 15 Dec 2010 23:50:40 +0100 Subject: Fix refactor bug: os -> os_lc in strings, reverted. --- src/java/com/jogamp/common/os/Platform.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/java/com') 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 + ")"); -- cgit v1.2.3