X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Flisp-stream.lisp;h=deeba9b1e4af91c59632eaf1cf901a21d850a4cd;hb=4fc9d21ae1d8a6a2f8ff70f589d5da103203de13;hp=5a34f9fb9fe676b161b02cc35405e651ebe800b0;hpb=95a6db7329b91dd90d165dd4057b9b5098d34aa2;p=sbcl.git diff --git a/src/code/lisp-stream.lisp b/src/code/lisp-stream.lisp index 5a34f9f..deeba9b 100644 --- a/src/code/lisp-stream.lisp +++ b/src/code/lisp-stream.lisp @@ -11,7 +11,14 @@ (in-package "SB!IMPL") -(defconstant in-buffer-length 512 "the size of a stream in-buffer") +;;; the size of a stream in-buffer +;;; +;;; KLUDGE: The EVAL-WHEN wrapper isn't needed except when using CMU +;;; CL as a cross-compilation host. cmucl-2.4.19 issues full WARNINGs +;;; (not just STYLE-WARNINGs!) when processing this file, and when +;;; processing other files which use LISP-STREAM. -- WHN 2000-12-13 +(eval-when (:compile-toplevel :load-toplevel :execute) + (defconstant in-buffer-length 512)) (deftype in-buffer-type () `(simple-array (unsigned-byte 8) (,in-buffer-length)))