From 946f6caaaa1ddc83116999173cebefd17b9fa33a Mon Sep 17 00:00:00 2001 From: benfry Date: Mon, 22 Sep 2003 02:17:36 +0000 Subject: [PATCH] addition for irix platform --- processing/app/PdeBase.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/processing/app/PdeBase.java b/processing/app/PdeBase.java index 1e7012a04..bfeffea05 100644 --- a/processing/app/PdeBase.java +++ b/processing/app/PdeBase.java @@ -110,10 +110,11 @@ public class PdeBase extends Frame static final int MACOS9 = 2; static final int MACOSX = 3; static final int LINUX = 4; + static final int IRIX = 5; static int platform; static final String platforms[] = { - "", "windows", "macos9", "macosx", "linux" + "", "windows", "macos9", "macosx", "linux", "irix" }; @@ -128,7 +129,7 @@ public class PdeBase extends Frame //System.out.println(System.getProperty("os.name")); platform = (System.getProperty("os.name").equals("Mac OS X")) ? MACOSX : MACOS9; - + } else { //System.out.println("unknown OS"); //System.out.println(System.getProperty("os.name")); @@ -140,6 +141,9 @@ public class PdeBase extends Frame } else if (osname.equals("Linux")) { // true for the ibm vm platform = LINUX; + } else if (osname.equals("Irix")) { + platform = IRIX; + } else { platform = WINDOWS; // probably safest System.out.println("unhandled osname: " + osname);