[armedbear-cvs] r14256 - trunk/abcl/src/org/armedbear/lisp

ehuelsmann at common-lisp.net ehuelsmann at common-lisp.net
Mon Nov 26 22:45:49 UTC 2012


Author: ehuelsmann
Date: Mon Nov 26 14:45:48 2012
New Revision: 14256

Log:
Patch submitted by Carlos Ungil: Correctly identify the platforms
to support CFFI.

Modified:
   trunk/abcl/src/org/armedbear/lisp/Lisp.java

Modified: trunk/abcl/src/org/armedbear/lisp/Lisp.java
==============================================================================
--- trunk/abcl/src/org/armedbear/lisp/Lisp.java	Mon Nov 26 11:51:44 2012	(r14255)
+++ trunk/abcl/src/org/armedbear/lisp/Lisp.java	Mon Nov 26 14:45:48 2012	(r14256)
@@ -2378,9 +2378,9 @@
     }
     // Processor architecture
     if(osArch != null) {
-      if (osArch.equals("amd64"))
+      if (osArch.equals("amd64") || osArch.equals("x86_64"))
         featureList = new Cons(Keyword.X86_64, featureList);
-      else if (osArch.equals("x86"))
+      else if (osArch.equals("x86") || osArch.equals("i386"))
         featureList = new Cons(Keyword.X86, featureList);
     }
     Symbol.FEATURES.initializeSpecial(featureList);




More information about the armedbear-cvs mailing list