[cffi-devel] [Patch] LispWorks 5.0 and amd64 support

Chun Tian (binghe) binghe.lisp at gmail.com
Sat Sep 22 14:50:43 UTC 2007


Luís Oliveira wrote:
> Hello Tian,
>
> On 22/09/2007, Chun Tian (binghe) <binghe.lisp at gmail.com> wrote:
>   
>> +          #-lispworks5
>>            cffi-features:no-long-long
>>     
>
> If possible, we should instead use one of the following approaches for
> checking whether Lispworks has long long support:
>
>   * some feature keyword symbol specific to long long support,
>     if Lispworks provides any.
>
>   * check for version 5.0 or higher, presuming all platforms support
>     long long as of version 5.0. (does Lispworks provide something like
>     Allegro's :VERSION>=?)
>
>   * programmatically check for long long support at read-time, i.e.:
>     (eval-when (<always>)
>       (unless (somehow-check-for-long-long-here)
>         (pushnew 'cffi-features:no-long-long *features*)))
>
> If you could modify the patch to use one of these alternative
> approaches, that would be great. Thanks.
>
>   
Attach is a modified patch which I use now, using (fli::64bit-long-p).

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 10_lispworks.dpatch
URL: <https://mailman.common-lisp.net/pipermail/cffi-devel/attachments/20070922/573d52ec/attachment.ksh>


More information about the cffi-devel mailing list