diff options
author | ng0 <ng0@n0.is> | 2019-11-20 14:53:33 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-11-20 14:53:33 +0000 |
commit | c4eb7c3e2afd631fa83f3d21555829178a5e10c1 (patch) | |
tree | b56ef598e649be4a5b412503940f6d9394c685ad /src/util/network.c | |
parent | 13226e828c6b7d56c77444afe159c1ccf008d62d (diff) | |
download | gnunet-c4eb7c3e2afd631fa83f3d21555829178a5e10c1.tar.gz gnunet-c4eb7c3e2afd631fa83f3d21555829178a5e10c1.zip |
use ifdef instead of if for __linux__ and BSD
Diffstat (limited to 'src/util/network.c')
-rw-r--r-- | src/util/network.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/network.c b/src/util/network.c index 52ae3d2c7..223ce2080 100644 --- a/src/util/network.c +++ b/src/util/network.c | |||
@@ -962,7 +962,7 @@ GNUNET_NETWORK_socket_disable_corking (struct GNUNET_NETWORK_Handle *desc) | |||
962 | { | 962 | { |
963 | int ret = 0; | 963 | int ret = 0; |
964 | 964 | ||
965 | #if __linux__ | 965 | #ifdef __linux__ |
966 | int value = 0; | 966 | int value = 0; |
967 | 967 | ||
968 | if (0 != | 968 | if (0 != |