Sfoglia il codice sorgente

allegro autoloading workaround

dlichteblau 20 anni fa
parent
commit
d2570761bd
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  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