-remove GNUNET_MQ_impl_send_commit, make it part of send_continue, to ensure calling...
[oweals/gnunet.git] / src / include / platform.h
index c44f67f677eb457cc63c70ce1c7eae646ce6b530..5591f2547ea92ad8c1d696308c91ea4613e3adcd 100644 (file)
@@ -4,7 +4,7 @@
 
      GNUnet is free software; you can redistribute it and/or modify
      it under the terms of the GNU General Public License as published
-     by the Free Software Foundation; either version 2, or (at your
+     by the Free Software Foundation; either version 3, or (at your
      option) any later version.
 
      GNUnet is distributed in the hope that it will be useful, but
 #include <sys/types.h>
 #endif
 
-#define ALLOW_EXTRA_CHECKS GNUNET_YES
+#define ALLOW_EXTRA_CHECKS GNUNET_NO
 
 /**
  * For strptime (glibc2 needs this).
  */
 #ifndef _XOPEN_SOURCE
-#define _XOPEN_SOURCE
+#define _XOPEN_SOURCE 499
 #endif
 
 #ifndef _REENTRANT
@@ -86,7 +86,9 @@
 #if HAVE_NETINET_IN_SYSTM_H
 #include <netinet/in_systm.h>
 #endif
+#if HAVE_NETINET_IP_H
 #include <netinet/ip.h>         /* superset of previous */
+#endif
 #include <arpa/inet.h>
 #include <netinet/tcp.h>
 #include <pwd.h>
@@ -264,4 +266,10 @@ atoll (const char *nptr);
 #define SOCKTYPE int
 #endif
 
+#if ENABLE_SUPERMUC
+#define GNUNET_TERM_SIG SIGUSR1
+#else
+#define GNUNET_TERM_SIG SIGTERM
+#endif
+
 #endif