diff options
author | David Carlier <devnexen@gmail.com> | 2019-12-02 21:00:37 +0000 |
---|---|---|
committer | David Carlier <devnexen@gmail.com> | 2019-12-02 21:00:37 +0000 |
commit | 70ad97d739e16cf1f12814f1c71745780194bca3 (patch) | |
tree | 477f89e34fe3cd1ea9bf7321a103f3ae32c4b7fe | |
parent | 1ab2a0cce927724403d04667bbc4c137fa16db70 (diff) | |
download | afl++-70ad97d739e16cf1f12814f1c71745780194bca3.tar.gz |
Enable libtokencap on DragonFlyBSD
-rw-r--r-- | libtokencap/Makefile | 3 | ||||
-rw-r--r-- | libtokencap/libtokencap.so.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/libtokencap/Makefile b/libtokencap/Makefile index b1313430..486c6c9e 100644 --- a/libtokencap/Makefile +++ b/libtokencap/Makefile @@ -37,6 +37,9 @@ endif ifeq "$(shell uname)" "NetBSD" TARGETS = libtokencap.so endif +ifeq "$(shell uname)" "DragonFly" + TARGETS = libtokencap.so +endif all: $(TARGETS) libtokencap.so: libtokencap.so.c ../config.h diff --git a/libtokencap/libtokencap.so.c b/libtokencap/libtokencap.so.c index e16fb772..647b85bc 100644 --- a/libtokencap/libtokencap.so.c +++ b/libtokencap/libtokencap.so.c @@ -33,7 +33,7 @@ #include "../config.h" #if !defined __linux__ && !defined __APPLE__ && !defined __FreeBSD__ && \ - !defined __OpenBSD__ && !defined __NetBSD__ + !defined __OpenBSD__ && !defined __NetBSD__ && !defined __DragonFly__ #error "Sorry, this library is unsupported in this platform for now!" #endif /* !__linux__ && !__APPLE__ && ! __FreeBSD__ && ! __OpenBSD__ && \ !__NetBSD__*/ |