#define LOG(kind, ...) GNUNET_log_from (kind, "transport-udp", __VA_ARGS__)
/* *********** Cryogenic ********** */
-#if __linux__
+#ifdef __linux__
#include <sys/stat.h>
#include <fcntl.h>
socklen_t addrlen;
-#if __linux__
+#ifdef __linux__
/**
* Cryogenic handle.
*/
}
}
-#if __linux__
+#ifdef __linux__
/*
* Cryogenic
*/
GNUNET_a2s ((const struct sockaddr *) &plugin->ipv6_multicast_address,
sizeof(struct sockaddr_in6)));
}
-#if __linux__
+#ifdef __linux__
/*
* Cryogenic
*/
(NULL != plugin->sockv4) &&
(addrlen == sizeof(struct sockaddr_in)))
{
-#if __linux__
+#ifdef __linux__
/*
* setup Cryogenic FD for ipv4 broadcasting
*/
}
else
{
-#if __linux__
+#ifdef __linux__
/*
* setup Cryogenic FD for ipv6 broadcasting
*/
}
}
-#if __linux__
+#ifdef __linux__
GNUNET_DISK_file_close (p->cryogenic_fd);
#endif
GNUNET_CONTAINER_DLL_remove (plugin->broadcast_head,
}
-#if __linux__
+#ifdef __linux__
/**
* Try to determine path by reading /proc/PID/exe
*
if (NULL != (ret = get_path_from_GNUNET_PREFIX ()))
return ret;
-#if __linux__
+#ifdef __linux__
if (NULL != (ret = get_path_from_proc_maps ()))
return ret;
/* try path *first*, before /proc/exe, as /proc/exe can be wrong */
{
char *ret = NULL;
-#if __linux__
+#ifdef __linux__
if (NULL != (ret = get_path_from_proc_exe ()))
return ret;
#endif