From 544208ec92b05b45af5bbe379f7665c7f6579e89 Mon Sep 17 00:00:00 2001 From: Kamil Shakirov Date: Wed, 21 Oct 2020 17:20:51 +0600 Subject: [PATCH] [refc] Update 'sysOS' to recognize more BSD flavors --- support/refc/prim.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/support/refc/prim.c b/support/refc/prim.c index b101df047..1d9e21442 100644 --- a/support/refc/prim.c +++ b/support/refc/prim.c @@ -86,6 +86,12 @@ Value *sysOS(void) return (Value *)makeString("Linux"); #elif __FreeBSD__ return (Value *)makeString("FreeBSD"); +#elif __OpenBSD__ + return (Value *)makeString("OpenBSD"); +#elif __NetBSD__ + return (Value *)makeString("NetBSD"); +#elif __DragonFly__ + return (Value *)makeString("DragonFly"); #elif __unix || __unix__ return (Value *)makeString("Unix"); #else