tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r730538 - /tomcat/trunk/java/org/apache/tomcat/jni/OS.java
Date Thu, 01 Jan 2009 12:57:36 GMT
Author: rjung
Date: Thu Jan  1 04:57:36 2009
New Revision: 730538

URL: http://svn.apache.org/viewvc?rev=730538&view=rev
Log:
Port r708867 from tcnative trunk to tc trunk.

Modified:
    tomcat/trunk/java/org/apache/tomcat/jni/OS.java

Modified: tomcat/trunk/java/org/apache/tomcat/jni/OS.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/jni/OS.java?rev=730538&r1=730537&r2=730538&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/jni/OS.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/jni/OS.java Thu Jan  1 04:57:36 2009
@@ -33,6 +33,7 @@
     private static final int LINUX     = 5;
     private static final int SOLARIS   = 6;
     private static final int BSD       = 7;
+    private static final int MACOSX    = 8;
 
     public static final int LOG_EMERG  = 1;
     public static final int LOG_ERROR  = 2;
@@ -54,6 +55,7 @@
     public static final boolean IS_LINUX   = is(LINUX);
     public static final boolean IS_SOLARIS = is(SOLARIS);
     public static final boolean IS_BSD     = is(BSD);
+    public static final boolean IS_MACOSX  = is(MACOSX);
 
     /**
      * Get the name of the system default characer set.



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message