Move the redefinition of with-lock into the compiler

This commit is contained in:
jgarcia 2007-08-02 19:34:49 +00:00
parent ce3c653161
commit 5ee541e484
2 changed files with 4 additions and 3 deletions

View file

@ -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")

View file

@ -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)))