aboutsummaryrefslogtreecommitdiff
path: root/src/include/platform.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-05-30 12:56:48 +0000
committerChristian Grothoff <christian@grothoff.org>2012-05-30 12:56:48 +0000
commitfd65db578913be3c6612fb8777a179d98af48991 (patch)
treedf6603dfc803941eae5da1d2605e8d11d5d580c4 /src/include/platform.h
parente22f71507f3ea87ca5d86fd279e80833195b3227 (diff)
downloadgnunet-fd65db578913be3c6612fb8777a179d98af48991.tar.gz
gnunet-fd65db578913be3c6612fb8777a179d98af48991.zip
-minor cleanups in testing
Diffstat (limited to 'src/include/platform.h')
-rw-r--r--src/include/platform.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/include/platform.h b/src/include/platform.h
index 7383e48ad..9a5d1646d 100644
--- a/src/include/platform.h
+++ b/src/include/platform.h
@@ -241,6 +241,14 @@ atoll (const char *nptr);
241#define O_LARGEFILE 0 241#define O_LARGEFILE 0
242#endif 242#endif
243 243
244/**
245 * AI_NUMERICSERV not defined in windows. Then we just do without.
246 */
247#ifndef AI_NUMERICSERV
248#define AI_NUMERICSERV 0
249#endif
250
251
244#if defined(__sparc__) 252#if defined(__sparc__)
245#define MAKE_UNALIGNED(val) ({ __typeof__((val)) __tmp; memmove(&__tmp, &(val), sizeof((val))); __tmp; }) 253#define MAKE_UNALIGNED(val) ({ __typeof__((val)) __tmp; memmove(&__tmp, &(val), sizeof((val))); __tmp; })
246#else 254#else