Explorar o código

Fix the recently added ABCL code to avoid a reader error in SBCL

dlichteblau %!s(int64=15) %!d(string=hai) anos
pai
achega
6cff2b9fb3
Modificáronse 1 ficheiros con 5 adicións e 2 borrados
  1. 5 2
      mixin.lisp

+ 5 - 2
mixin.lisp

@@ -42,8 +42,11 @@
   (defmethod gray-streams:stream-write-string 
       ((stream xp::xp-structure) string &optional (start 0) (end (length string)))
     (xp::write-string+ string stream start end))
-  
-  #+#.(cl:if (cl:find-symbol "STREAM-FILE-POSITION" :gray-streams) '(cl:and) '(cl:or))
+
+  #+#.(cl:if (cl:and (cl:find-package :gray-streams)
+		     (cl:find-symbol "STREAM-FILE-POSITION" :gray-streams))
+	     '(:and)
+	     '(:or))
   (defmethod gray-streams:stream-file-position
       ((s trivial-gray-stream-mixin) &optional position)
     (if position