Require "streamc" only if Allegro version is < 9.0
[iolib.git] / src / conf / requires.lisp
blob4977510ada7237dd5b9a34eac1604822051a8714
1 ;;;; -*- Mode: Lisp; indent-tabs-mode: nil -*-
2 ;;;
3 ;;; --- Load all non-ASDF deps - usually implementation-specific REQUIREs
4 ;;;
6 (in-package :iolib.conf)
8 (defun load-gray-streams ()
9 #+(and allegro (not (version>= 9 0)))
10 (unless (fboundp 'stream:stream-write-string)
11 (require "streamc"))
12 #+cmu
13 (require :gray-streams)
14 #+ecl
15 (when (fboundp 'gray::redefine-cl-functions)
16 (gray::redefine-cl-functions)))