mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-18 21:29:19 +02:00
Fix NetBSD, DragonFly BSD and Darwin feature detection
On NetBSD systems the netbsd feature identifier was not actually provided because the macro SEXP_NETBSD was defined twice and the second value was 0. On DragonFly systems the dragonfly feature identifier was not actually provided because the macro SEXP_DRAGONFLY was defined twice and the second value was 0. Also on DragonFly systems the darwin feature identifier was incorrectly provided because SEXP_DARWIN had a value of 1 instead of 0.
This commit is contained in:
parent
83cfc7dd53
commit
4c1af8c92a
1 changed files with 1 additions and 3 deletions
|
@ -323,14 +323,12 @@
|
||||||
#define SEXP_NETBSD 1
|
#define SEXP_NETBSD 1
|
||||||
#define SEXP_DRAGONFLY 0
|
#define SEXP_DRAGONFLY 0
|
||||||
#define SEXP_OPENBSD 0
|
#define SEXP_OPENBSD 0
|
||||||
#define SEXP_NETBSD 0
|
|
||||||
#elif defined(__DragonFly__)
|
#elif defined(__DragonFly__)
|
||||||
#define SEXP_DARWIN 1
|
#define SEXP_DARWIN 0
|
||||||
#define SEXP_FREEBSD 0
|
#define SEXP_FREEBSD 0
|
||||||
#define SEXP_NETBSD 0
|
#define SEXP_NETBSD 0
|
||||||
#define SEXP_DRAGONFLY 1
|
#define SEXP_DRAGONFLY 1
|
||||||
#define SEXP_OPENBSD 0
|
#define SEXP_OPENBSD 0
|
||||||
#define SEXP_DRAGONFLY 0
|
|
||||||
#elif defined(__OpenBSD__)
|
#elif defined(__OpenBSD__)
|
||||||
#define SEXP_DARWIN 0
|
#define SEXP_DARWIN 0
|
||||||
#define SEXP_FREEBSD 0
|
#define SEXP_FREEBSD 0
|
||||||
|
|
Loading…
Add table
Reference in a new issue