diff options
| author | Ron Yorston <rmy@pobox.com> | 2014-01-13 09:11:24 +0000 |
|---|---|---|
| committer | Ron Yorston <rmy@pobox.com> | 2014-01-13 09:11:24 +0000 |
| commit | e6edcba4f2fc20a3e9db75ebe82d7a71094fe17c (patch) | |
| tree | af786c447cae6ca59e195b31fbae442c0b42d198 /include | |
| parent | 215f730e98215bff8dfacafdaa70e4a11395ad53 (diff) | |
| parent | 0f592d7fb94c5887528d0ee24020c2225ab71c28 (diff) | |
| download | busybox-w32-e6edcba4f2fc20a3e9db75ebe82d7a71094fe17c.tar.gz busybox-w32-e6edcba4f2fc20a3e9db75ebe82d7a71094fe17c.tar.bz2 busybox-w32-e6edcba4f2fc20a3e9db75ebe82d7a71094fe17c.zip | |
Merge branch 'busybox' into merge
Conflicts:
include/platform.h
scripts/basic/fixdep.c
Diffstat (limited to 'include')
| -rw-r--r-- | include/platform.h | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/include/platform.h b/include/platform.h index e52dd7ba5..515ef031f 100644 --- a/include/platform.h +++ b/include/platform.h | |||
| @@ -402,10 +402,6 @@ typedef unsigned smalluint; | |||
| 402 | # undef HAVE_STRVERSCMP | 402 | # undef HAVE_STRVERSCMP |
| 403 | #endif | 403 | #endif |
| 404 | 404 | ||
| 405 | #if defined(__dietlibc__) | ||
| 406 | # undef HAVE_STRCHRNUL | ||
| 407 | #endif | ||
| 408 | |||
| 409 | #if ENABLE_PLATFORM_MINGW32 | 405 | #if ENABLE_PLATFORM_MINGW32 |
| 410 | # undef HAVE_DPRINTF | 406 | # undef HAVE_DPRINTF |
| 411 | # undef HAVE_GETLINE | 407 | # undef HAVE_GETLINE |
| @@ -453,7 +449,7 @@ typedef unsigned smalluint; | |||
| 453 | /* These BSD-derived OSes share many similarities */ | 449 | /* These BSD-derived OSes share many similarities */ |
| 454 | #if (defined __digital__ && defined __unix__) \ | 450 | #if (defined __digital__ && defined __unix__) \ |
| 455 | || defined __APPLE__ \ | 451 | || defined __APPLE__ \ |
| 456 | || defined __FreeBSD__ || defined __OpenBSD__ || defined __NetBSD__ | 452 | || defined __OpenBSD__ || defined __NetBSD__ |
| 457 | # undef HAVE_CLEARENV | 453 | # undef HAVE_CLEARENV |
| 458 | # undef HAVE_FDATASYNC | 454 | # undef HAVE_FDATASYNC |
| 459 | # undef HAVE_GETLINE | 455 | # undef HAVE_GETLINE |
| @@ -468,10 +464,30 @@ typedef unsigned smalluint; | |||
| 468 | # undef HAVE_UNLOCKED_LINE_OPS | 464 | # undef HAVE_UNLOCKED_LINE_OPS |
| 469 | #endif | 465 | #endif |
| 470 | 466 | ||
| 471 | #if defined(__FreeBSD__) || defined(__APPLE__) | 467 | #if defined(__dietlibc__) |
| 468 | # undef HAVE_STRCHRNUL | ||
| 469 | #endif | ||
| 470 | |||
| 471 | #if defined(__APPLE__) | ||
| 472 | # undef HAVE_STRCHRNUL | 472 | # undef HAVE_STRCHRNUL |
| 473 | #endif | 473 | #endif |
| 474 | 474 | ||
| 475 | #if defined(__FreeBSD__) | ||
| 476 | # undef HAVE_CLEARENV | ||
| 477 | # undef HAVE_FDATASYNC | ||
| 478 | # undef HAVE_MNTENT_H | ||
| 479 | # undef HAVE_PTSNAME_R | ||
| 480 | # undef HAVE_SYS_STATFS_H | ||
| 481 | # undef HAVE_SIGHANDLER_T | ||
| 482 | # undef HAVE_STRVERSCMP | ||
| 483 | # undef HAVE_XTABS | ||
| 484 | # undef HAVE_UNLOCKED_LINE_OPS | ||
| 485 | # include <osreldate.h> | ||
| 486 | # if __FreeBSD_version < 1000029 | ||
| 487 | # undef HAVE_STRCHRNUL /* FreeBSD added strchrnul() between 1000028 and 1000029 */ | ||
| 488 | # endif | ||
| 489 | #endif | ||
| 490 | |||
| 475 | #if defined(__NetBSD__) | 491 | #if defined(__NetBSD__) |
| 476 | # define HAVE_GETLINE 1 /* Recent NetBSD versions have getline() */ | 492 | # define HAVE_GETLINE 1 /* Recent NetBSD versions have getline() */ |
| 477 | #endif | 493 | #endif |
