Changeset 12176


Ignore:
Timestamp:
10/05/09 20:19:12 (12 years ago)
Author:
ehuelsmann
Message:

Add OpenJDK identification of Darwin to the
*FEATURES* setup and the OS type detection.

Found by: John Pallister < john synchromesh com >

Location:
trunk/abcl/src/org/armedbear/lisp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/abcl/src/org/armedbear/lisp/Lisp.java

    r12171 r12176  
    23192319                                             Keyword.CDR6));
    23202320      }
    2321     else if (osName.startsWith("Mac OS X"))
     2321    else if (osName.startsWith("Mac OS X") ||
     2322             osName.startsWith("Darwin"))
    23222323      {
    23232324        Symbol.FEATURES.setSymbolValue(list(Keyword.ARMEDBEAR,
  • trunk/abcl/src/org/armedbear/lisp/Utilities.java

    r12141 r12176  
    5151        String osName = System.getProperty("os.name");
    5252        isPlatformUnix = osName.startsWith("Linux") ||
    53             osName.startsWith("Mac OS X") || osName.startsWith("Solaris") ||
     53            osName.startsWith("Mac OS X") || osName.startsWith("Darwin") ||
     54            osName.startsWith("Solaris") ||
    5455            osName.startsWith("SunOS") || osName.startsWith("AIX") ||
    5556            osName.startsWith("FreeBSD") || osName.startsWith("OpenBSD") ||
Note: See TracChangeset for help on using the changeset viewer.