X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fstrings.lisp;h=0bdeeabe277a0338f6c37bd2439de584da76e39d;hb=0387c7216d0e8d0300323689be5c3c0eaad54171;hp=ed3f7e820de6cceb90dc02834edb648189a34dbe;hpb=6b108d27ffc3f4e08f2529e71911ed02a5310a6d;p=uffi.git diff --git a/src/strings.lisp b/src/strings.lisp index ed3f7e8..0bdeeab 100644 --- a/src/strings.lisp +++ b/src/strings.lisp @@ -389,7 +389,7 @@ that LW/CMU automatically converts strings from c-calls." (def-type char-ptr-def (* :unsigned-char)) -#+(or lispworks (and allegro (not ics))) +#+(or (and allegro (not ics)) (and lispworks (not lispworks5))) (defun fast-native-to-string (s len) (declare (optimize (speed 3) (space 0) (safety 0) (compilation-speed 0)) (type char-ptr-def s)) @@ -402,7 +402,7 @@ that LW/CMU automatically converts strings from c-calls." (setf (aref str i) (uffi:deref-array s '(:array :char) i))))) -#+(and allegro ics) +#+(or (and allegro ics) lispworks5) (defun fast-native-to-string (s len) (declare (optimize (speed 3) (space 0) (safety 0) (compilation-speed 0)) (type char-ptr-def s))