diff options
Diffstat (limited to 'include/platform.h')
-rw-r--r-- | include/platform.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/include/platform.h b/include/platform.h index 780568c2b..429220b0d 100644 --- a/include/platform.h +++ b/include/platform.h | |||
@@ -332,8 +332,8 @@ typedef unsigned smalluint; | |||
332 | 332 | ||
333 | /* ---- Who misses what? ------------------------------------ */ | 333 | /* ---- Who misses what? ------------------------------------ */ |
334 | 334 | ||
335 | /* Assume all these functions exist by default. Platforms where it is not | 335 | /* Assume all these functions and header files exist by default. |
336 | * true will #undef them below. | 336 | * Platforms where it is not true will #undef them below. |
337 | */ | 337 | */ |
338 | #define HAVE_CLEARENV 1 | 338 | #define HAVE_CLEARENV 1 |
339 | #define HAVE_FDATASYNC 1 | 339 | #define HAVE_FDATASYNC 1 |
@@ -349,9 +349,14 @@ typedef unsigned smalluint; | |||
349 | #define HAVE_STRSEP 1 | 349 | #define HAVE_STRSEP 1 |
350 | #define HAVE_STRSIGNAL 1 | 350 | #define HAVE_STRSIGNAL 1 |
351 | #define HAVE_VASPRINTF 1 | 351 | #define HAVE_VASPRINTF 1 |
352 | #define HAVE_XTABS 1 | ||
352 | #define HAVE_MNTENT_H 1 | 353 | #define HAVE_MNTENT_H 1 |
354 | #define HAVE_NET_ETHERNET_H 1 | ||
353 | #define HAVE_SYS_STATFS_H 1 | 355 | #define HAVE_SYS_STATFS_H 1 |
354 | #define HAVE_XTABS 1 | 356 | |
357 | #if defined(__GLIBC__) && (__GLIBC__ < 2 || __GLIBC_MINOR__ < 1) | ||
358 | # undef HAVE_NET_ETHERNET_H | ||
359 | #endif | ||
355 | 360 | ||
356 | #if defined(__dietlibc__) | 361 | #if defined(__dietlibc__) |
357 | # undef HAVE_STRCHRNUL | 362 | # undef HAVE_STRCHRNUL |
@@ -368,6 +373,7 @@ typedef unsigned smalluint; | |||
368 | # undef HAVE_STRSEP | 373 | # undef HAVE_STRSEP |
369 | # undef HAVE_STRSIGNAL | 374 | # undef HAVE_STRSIGNAL |
370 | # undef HAVE_VASPRINTF | 375 | # undef HAVE_VASPRINTF |
376 | # undef HAVE_NET_ETHERNET_H | ||
371 | #endif | 377 | #endif |
372 | 378 | ||
373 | #if defined(__FreeBSD__) | 379 | #if defined(__FreeBSD__) |
@@ -395,6 +401,7 @@ typedef unsigned smalluint; | |||
395 | # undef HAVE_DPRINTF | 401 | # undef HAVE_DPRINTF |
396 | # undef HAVE_STPCPY | 402 | # undef HAVE_STPCPY |
397 | # undef HAVE_STRCHRNUL | 403 | # undef HAVE_STRCHRNUL |
404 | # undef HAVE_NET_ETHERNET_H | ||
398 | #endif | 405 | #endif |
399 | 406 | ||
400 | /* | 407 | /* |