mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-17 06:42:18 -08:00
Do not use static constants when compiling Lisp code other than ECL's core
This commit is contained in:
parent
92fd2856ba
commit
2668b414cb
1 changed files with 3 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue