X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Ffd-stream.lisp;h=a759017fbb199814738ebfbbf6ac985127d885a1;hb=4d0b87793a047baecf2403455ddca1a82f44a41b;hp=07dfaf1af1f66a3da8a7132d7cc1d179acbf536c;hpb=b67c2d7522c0b73a18e316faa2b81d7c8b187706;p=sbcl.git diff --git a/src/code/fd-stream.lisp b/src/code/fd-stream.lisp index 07dfaf1..a759017 100644 --- a/src/code/fd-stream.lisp +++ b/src/code/fd-stream.lisp @@ -2217,7 +2217,12 @@ ((not (or input output)) (error "File descriptor must be opened either for input or output."))) (let ((stream (%make-fd-stream :fd fd - :fd-type (sb!unix:fd-type fd) + :fd-type (progn + #!-win32 (sb!unix:fd-type fd) + ;; KLUDGE. + #!+win32 (if serve-events + :unknown + :regular)) :name name :file file :original original