From 13226e828c6b7d56c77444afe159c1ccf008d62d Mon Sep 17 00:00:00 2001 From: ng0 Date: Wed, 20 Nov 2019 13:28:01 +0000 Subject: follow-up to 7c14b80a011e9e99b1cef0bfd96bae364edd5663: use __linux__ instead of redefined LINUX. --- src/transport/plugin_transport_udp_broadcasting.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/transport/plugin_transport_udp_broadcasting.c') diff --git a/src/transport/plugin_transport_udp_broadcasting.c b/src/transport/plugin_transport_udp_broadcasting.c index c85124b68..5e72fad09 100644 --- a/src/transport/plugin_transport_udp_broadcasting.c +++ b/src/transport/plugin_transport_udp_broadcasting.c @@ -41,7 +41,7 @@ #define LOG(kind, ...) GNUNET_log_from (kind, "transport-udp", __VA_ARGS__) /* *********** Cryogenic ********** */ -#if LINUX +#if __linux__ #include #include @@ -92,7 +92,7 @@ struct BroadcastAddress socklen_t addrlen; -#if LINUX +#if __linux__ /** * Cryogenic handle. */ @@ -277,7 +277,7 @@ udp_ipv4_broadcast_send (void *cls) } } -#if LINUX +#if __linux__ /* * Cryogenic */ @@ -359,7 +359,7 @@ udp_ipv6_broadcast_send (void *cls) GNUNET_a2s ((const struct sockaddr *) &plugin->ipv6_multicast_address, sizeof(struct sockaddr_in6))); } -#if LINUX +#if __linux__ /* * Cryogenic */ @@ -448,7 +448,7 @@ iface_proc (void *cls, (NULL != plugin->sockv4) && (addrlen == sizeof(struct sockaddr_in))) { -#if LINUX +#if __linux__ /* * setup Cryogenic FD for ipv4 broadcasting */ @@ -503,7 +503,7 @@ iface_proc (void *cls, } else { -#if LINUX +#if __linux__ /* * setup Cryogenic FD for ipv6 broadcasting */ @@ -632,7 +632,7 @@ stop_broadcast (struct Plugin *plugin) } } -#if LINUX +#if __linux__ GNUNET_DISK_file_close (p->cryogenic_fd); #endif GNUNET_CONTAINER_DLL_remove (plugin->broadcast_head, -- cgit v1.2.3