From ac467ea31427f2e91fab9a3f2c2ae5fa3a1c05df Mon Sep 17 00:00:00 2001 From: Andrew Gwozdziewycz Date: Fri, 2 Aug 2019 01:56:51 -0700 Subject: [PATCH] Add features for the various BSDs. This could and should be done cleaner. Works as a proof of concept at this point in time. --- sexp.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/sexp.c b/sexp.c index cc9c6fc2..ed8bdb68 100644 --- a/sexp.c +++ b/sexp.c @@ -464,6 +464,18 @@ static const char* sexp_initial_features[] = { #if SEXP_BSD "bsd", #endif +#if defined(__OpenBSD__) + "openbsd", +#endif +#if defined(__FreeBSD__) + "freebsd", +#endif +#if defined(__NetBSD__) + "netbsd", +#endif +#if defined(__DragonFly__) + "dragonfly", +#endif #if defined(_WIN32) "windows", #endif