[cffi-devel] LispWorks 5.0/5.1 and LONG-LONG support

Luís Oliveira luismbo at gmail.com
Sat Apr 5 01:59:11 UTC 2008


On Fri, Mar 28, 2008 at 5:37 AM, Chun Tian (binghe)
<binghe.lisp at gmail.com> wrote:
>  Though LispWorks cannot use a >=version like compile feature like those in
> Allegro, but since LW is very stable and its version grows very slowly
> (0.1/year ^_^), I think we can use #+(and lispworks-64bit (not
> lispworks5.0)) to mean "LispWorks 64-bit version >= 5.1"

183c193
< #+#.(cl:if (cl:find-symbol "FOREIGN-TYPED-AREF" "FLI") '(and) '(or))
---
> #+#.(cl:if (cl:find-symbol "FOREIGN-TYPED-AREF" "FLI") '(and lispworks-64bit (not lispworks5.0)) '(or))

IIUC, this would disable this optimization for all non-64bit
platforms. It seems easier to simply state that CFFI long-longs
require LW version 5.1 or greater on 64-bit platforms. Got any
objections against that?

-- 
Luís Oliveira
http://student.dei.uc.pt/~lmoliv/



More information about the cffi-devel mailing list