diff options
author | ng0 <ng0@n0.is> | 2019-11-19 17:30:32 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-11-19 17:30:32 +0000 |
commit | 7c14b80a011e9e99b1cef0bfd96bae364edd5663 (patch) | |
tree | 9b4d0714c179b434117aad6fe6a65bc023ba04f9 /src/nse | |
parent | 1b296cf77a90930e29bd60c0aef70b8efbb1bd24 (diff) | |
download | gnunet-7c14b80a011e9e99b1cef0bfd96bae364edd5663.tar.gz gnunet-7c14b80a011e9e99b1cef0bfd96bae364edd5663.zip |
On *BSD the header file sys/param.h defines BSD. Drop unnecessary
BSD defines in the build-system. Furthermore add detection for
FreeBSD using the additional defines by FreeBSD.
Use !Linux where previously a list of BSDs was.
Diffstat (limited to 'src/nse')
-rw-r--r-- | src/nse/gnunet-service-nse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nse/gnunet-service-nse.c b/src/nse/gnunet-service-nse.c index e31b07d14..d16abed71 100644 --- a/src/nse/gnunet-service-nse.c +++ b/src/nse/gnunet-service-nse.c | |||
@@ -75,7 +75,7 @@ | |||
75 | (GNUNET_MQ_PRIO_BACKGROUND | GNUNET_MQ_PREF_UNRELIABLE \ | 75 | (GNUNET_MQ_PRIO_BACKGROUND | GNUNET_MQ_PREF_UNRELIABLE \ |
76 | | GNUNET_MQ_PREF_CORK_ALLOWED) | 76 | | GNUNET_MQ_PREF_CORK_ALLOWED) |
77 | 77 | ||
78 | #if FREEBSD | 78 | #if BSD |
79 | #define log2(a) (log (a) / log (2)) | 79 | #define log2(a) (log (a) / log (2)) |
80 | #endif | 80 | #endif |
81 | 81 | ||