diff --git a/core/system/system.factor b/core/system/system.factor index 2d8ed1b657..8f587d28c2 100644 --- a/core/system/system.factor +++ b/core/system/system.factor @@ -25,9 +25,11 @@ SINGLETON: solaris SINGLETON: macosx SINGLETON: linux +SINGLETON: haiku + UNION: bsd freebsd netbsd openbsd macosx ; -UNION: unix bsd solaris linux ; +UNION: unix bsd solaris linux haiku ; : os ( -- class ) \ os get-global ; foldable @@ -51,6 +53,7 @@ UNION: unix bsd solaris linux ; { "solaris" solaris } { "macosx" macosx } { "linux" linux } + { "haiku" haiku } } at ; PRIVATE>