From be3ddc922fda13c0ba344909b3639a2c78c4b809 Mon Sep 17 00:00:00 2001 From: Michael Bien Date: Sun, 28 Mar 2010 18:37:59 +0200 Subject: (part2) merged all cdc_fp special cases into one common superclass for each special case. introduced Platform as utility for querying platform information. special cdc build with cdc_fp bootclasspath temporary dissabled. --- src/java/com/jogamp/gluegen/runtime/CPU.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/java/com/jogamp/gluegen/runtime/CPU.java') diff --git a/src/java/com/jogamp/gluegen/runtime/CPU.java b/src/java/com/jogamp/gluegen/runtime/CPU.java index 027b602..9c2f81e 100755 --- a/src/java/com/jogamp/gluegen/runtime/CPU.java +++ b/src/java/com/jogamp/gluegen/runtime/CPU.java @@ -60,8 +60,8 @@ public class CPU { // here as these system properties are visible even to unsigned // applets // Note: this code is replicated in StructLayout.java - String os = System.getProperty("os.name").toLowerCase(); - String cpu = System.getProperty("os.arch").toLowerCase(); + String os = Platform.getOS().toLowerCase(); + String cpu = Platform.getArch().toLowerCase(); if ((os.startsWith("windows") && cpu.equals("x86")) || (os.startsWith("windows") && cpu.equals("arm")) || -- cgit v1.2.3