On Fri, Mar 28, 2008 at 5:37 AM, Chun Tian (binghe)
<[EMAIL PROTECTED]> 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/
_______________________________________________
cffi-devel mailing list
cffi-devel@common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/cffi-devel

Reply via email to