diff options
Diffstat (limited to 'src/include/platform.h')
-rw-r--r-- | src/include/platform.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/include/platform.h b/src/include/platform.h index 7a31f4fa7..7bf2b2f8f 100644 --- a/src/include/platform.h +++ b/src/include/platform.h | |||
@@ -191,17 +191,11 @@ | |||
191 | #endif | 191 | #endif |
192 | 192 | ||
193 | #ifdef FREEBSD | 193 | #ifdef FREEBSD |
194 | #ifndef HOST_NAME_MAX | ||
195 | #define HOST_NAME_MAX MAXHOSTNAMELEN | ||
196 | #endif | ||
197 | #define __BYTE_ORDER BYTE_ORDER | 194 | #define __BYTE_ORDER BYTE_ORDER |
198 | #define __BIG_ENDIAN BIG_ENDIAN | 195 | #define __BIG_ENDIAN BIG_ENDIAN |
199 | #endif | 196 | #endif |
200 | 197 | ||
201 | #ifdef DARWIN | 198 | #ifdef DARWIN |
202 | #ifndef HOST_NAME_MAX | ||
203 | #define HOST_NAME_MAX MAXHOSTNAMELEN | ||
204 | #endif | ||
205 | #define __BYTE_ORDER BYTE_ORDER | 199 | #define __BYTE_ORDER BYTE_ORDER |
206 | #define __BIG_ENDIAN BIG_ENDIAN | 200 | #define __BIG_ENDIAN BIG_ENDIAN |
207 | /* not available on darwin, override configure */ | 201 | /* not available on darwin, override configure */ |