Commit 919ba854 authored by Daniel Kochmański's avatar Daniel Kochmański
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 44a3d682
Loading
Loading
Loading
Loading
+1 −1
Changes for uiop/os.lisp: 1 added line, 1 removed line.
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?"