Jelajahi Sumber

allegro autoloading workaround

dlichteblau 20 tahun lalu
induk
melakukan
d2570761bd
1 mengubah file dengan 5 tambahan dan 0 penghapusan
  1. 5 0
      package.lisp

+ 5 - 0
package.lisp

@@ -4,6 +4,11 @@
 (eval-when (:compile-toplevel :load-toplevel :execute)
   (require :gray-streams))
 
+#+allegro
+(eval-when (:compile-toplevel :load-toplevel :execute)
+  (unless (fboundp 'stream:stream-write-string)
+    (require "streamc.fasl")))
+
 (macrolet
     ((frob ()
        (let