Merge pull request #556 from katterjohn/bsd-detection

Fix NetBSD, DragonFly BSD and Darwin feature detection
This commit is contained in:
Alex Shinn 2019-08-16 22:35:14 +08:00 committed by GitHub
commit 56acd0eb56
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -323,14 +323,12 @@
#define SEXP_NETBSD 1
#define SEXP_DRAGONFLY 0
#define SEXP_OPENBSD 0
#define SEXP_NETBSD 0
#elif defined(__DragonFly__)
#define SEXP_DARWIN 1
#define SEXP_DARWIN 0
#define SEXP_FREEBSD 0
#define SEXP_NETBSD 0
#define SEXP_DRAGONFLY 1
#define SEXP_OPENBSD 0
#define SEXP_DRAGONFLY 0
#elif defined(__OpenBSD__)
#define SEXP_DARWIN 0
#define SEXP_FREEBSD 0