(in-package "SB-SIMPLE-STREAMS")
-;;;
-;;; BANNER ADS!!
-;;;
-
-(pushnew :sb-simple-stream *features*)
-
-(eval-when (:compile-toplevel :load-toplevel :execute)
- #+(or X86) (pushnew :little-endian *features*))
-
-(eval-when (:compile-toplevel :load-toplevel :execute)
- #-little-endian (pushnew :big-endian *features*))
-
-(eval-when (:compile-toplevel :load-toplevel :execute)
- #-(or big-endian little-endian) (error "Unsupported architecture"))
-
+;;; (pushnew :sb-simple-stream *features*)
;;;
;;; TYPES FOR BUFFER AND STRATEGY FUNCTIONS
())
(def-stream-class socket-simple-stream (dual-channel-simple-stream)
- ())
+ ((socket :initform nil :type (or sb-bsd-sockets:socket null)
+ :initarg :socket sb-pcl::location 27)))
(def-stream-class socket-base-simple-stream (dual-channel-simple-stream)
())