Commit 6fe0835a authored by Daniel Kochmański's avatar Daniel Kochmański Committed by Robert Goldman
Browse files

uiop/os.lisp: test also for :linux

Some platforms, most notably cosmopolitan, disguise themselves as "linux" in the
toolchain host. ECL puts that value in *FEATURES*.
parent 3edc1193
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@ keywords explicitly."

  (defun os-unix-p ()
    "Is the underlying operating system some Unix variant?"
    (or (featurep '(:or :unix :cygwin :haiku)) (os-macosx-p)))
    (or (featurep '(:or :unix :cygwin :haiku :linux)) (os-macosx-p)))

  (defun os-windows-p ()
    "Is the underlying operating system Microsoft Windows?"