Do not use static constants when compiling Lisp code other than ECL's core

This commit is contained in:
Juan Jose Garcia Ripoll 2011-01-23 21:43:37 +01:00
parent 92fd2856ba
commit 2668b414cb

View file

@ -280,7 +280,9 @@
nil
#-:msvc
;; FIXME! The Microsoft compiler does not allow static initialization of bit fields.
(unless (or *compiler-constants* (not (listp *static-constants*)))
(unless (or *compiler-constants*
(not *use-static-constants-p*)
(not (listp *static-constants*)))
(let ((record (find object *static-constants* :key #'first :test #'equal)))
(if record
(second record)