소스 검색

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

dlichteblau 15 년 전
부모
커밋
6cff2b9fb3
1개의 변경된 파일5개의 추가작업 그리고 2개의 파일을 삭제
  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