diff options
Diffstat (limited to 'src/java/com/jogamp/gluegen/runtime/CPU.java')
-rwxr-xr-x | src/java/com/jogamp/gluegen/runtime/CPU.java | 4 |
1 files changed, 2 insertions, 2 deletions
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")) || |