fix function 'x:path' for unix

This commit is contained in:
pls.153 2022-02-19 08:29:22 +01:00
parent 0bf4fbaf2e
commit da1285cace

View file

@ -151,7 +151,7 @@
(defun path (name) (defun path (name)
"Needed because ECL uses base strings (not Unicode) for pathnames internally." "Needed because ECL uses base strings (not Unicode) for pathnames internally."
#+(or darwin linux) #+unix
(funcall (intern "QUTF8" :eql) name) (funcall (intern "QUTF8" :eql) name)
#+win32 #+win32
(if (< (funcall (intern "%WINDOWS-VERSION" :eql)) #xa0) (if (< (funcall (intern "%WINDOWS-VERSION" :eql)) #xa0)