mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2025-12-30 22:30:51 -08:00
Move the redefinition of with-lock into the compiler
This commit is contained in:
parent
ce3c653161
commit
5ee541e484
2 changed files with 4 additions and 3 deletions
|
|
@ -46,9 +46,6 @@
|
|||
#-:wants-dlopen (setq *features* (delete :dlopen *features*))
|
||||
#+:wants-dlopen (push :dlopen *features*)
|
||||
|
||||
#-threads
|
||||
(defmacro c::with-lock ((lock) &body body)
|
||||
`(progn ,@body))
|
||||
(load #+(or cross ecl-min) "cmp/load.lsp"
|
||||
#-(or cross ecl-min) "cmp.so")
|
||||
|
||||
|
|
|
|||
|
|
@ -12,6 +12,10 @@
|
|||
|
||||
(in-package "COMPILER")
|
||||
|
||||
#-threads
|
||||
(defmacro with-lock ((lock) &body body)
|
||||
`(progn ,@body))
|
||||
|
||||
(defun safe-system (string)
|
||||
(cmpnote "Invoking external command:~%;;; ~A~%" string)
|
||||
(let ((result (si:system string)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue