diff options
author | Heikki Lindholm <holin@iki.fi> | 2009-10-18 06:28:49 +0000 |
---|---|---|
committer | Heikki Lindholm <holin@iki.fi> | 2009-10-18 06:28:49 +0000 |
commit | 7e20c445682f63dfab3058acfc0e61a7a48ca25a (patch) | |
tree | 9966271ebeff843557733c990f084d40d135670f /src/include/platform.h | |
parent | 85fe8817d96b112717df804be282f2bfd37aeaf7 (diff) | |
download | gnunet-7e20c445682f63dfab3058acfc0e61a7a48ca25a.tar.gz gnunet-7e20c445682f63dfab3058acfc0e61a7a48ca25a.zip |
cosmetics
Diffstat (limited to 'src/include/platform.h')
-rw-r--r-- | src/include/platform.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/include/platform.h b/src/include/platform.h index a649d3aa5..257fc7c6b 100644 --- a/src/include/platform.h +++ b/src/include/platform.h | |||
@@ -128,7 +128,7 @@ | |||
128 | #ifdef GNUNET_freeBSD | 128 | #ifdef GNUNET_freeBSD |
129 | #include <semaphore.h> | 129 | #include <semaphore.h> |
130 | #endif | 130 | #endif |
131 | #ifdef OSX | 131 | #ifdef DARWIN |
132 | #include <dlfcn.h> | 132 | #include <dlfcn.h> |
133 | #include <semaphore.h> | 133 | #include <semaphore.h> |
134 | #include <net/if.h> | 134 | #include <net/if.h> |
@@ -192,11 +192,10 @@ | |||
192 | #define __BIG_ENDIAN BIG_ENDIAN | 192 | #define __BIG_ENDIAN BIG_ENDIAN |
193 | #endif | 193 | #endif |
194 | 194 | ||
195 | #ifdef OSX | 195 | #ifdef DARWIN |
196 | #define socklen_t unsigned int | ||
197 | #define __BYTE_ORDER BYTE_ORDER | 196 | #define __BYTE_ORDER BYTE_ORDER |
198 | #define __BIG_ENDIAN BIG_ENDIAN | 197 | #define __BIG_ENDIAN BIG_ENDIAN |
199 | /* not available on OS X, override configure */ | 198 | /* not available on darwin, override configure */ |
200 | #undef HAVE_STAT64 | 199 | #undef HAVE_STAT64 |
201 | #undef HAVE_MREMAP | 200 | #undef HAVE_MREMAP |
202 | #endif | 201 | #endif |