diff options
author | Ron Yorston <rmy@pobox.com> | 2014-05-06 20:41:10 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2014-05-06 20:41:10 +0100 |
commit | d3bef66324a8ca5eed9ad7c15ead3a1cc9a9151e (patch) | |
tree | 4b364ba4b6b9e96c2629fe382fef0248d76833dd /include/platform.h | |
parent | 7905d97aeece18da362a5a1e066abff2d2e5c16b (diff) | |
parent | d257608a8429b64e1a04c7cb6d99975eeb2c3955 (diff) | |
download | busybox-w32-d3bef66324a8ca5eed9ad7c15ead3a1cc9a9151e.tar.gz busybox-w32-d3bef66324a8ca5eed9ad7c15ead3a1cc9a9151e.tar.bz2 busybox-w32-d3bef66324a8ca5eed9ad7c15ead3a1cc9a9151e.zip |
Merge branch 'busybox' into merge
Conflicts:
debianutils/which.c
editors/vi.c
libbb/executable.c
Diffstat (limited to 'include/platform.h')
-rw-r--r-- | include/platform.h | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/include/platform.h b/include/platform.h index 515ef031f..884c6e95f 100644 --- a/include/platform.h +++ b/include/platform.h | |||
@@ -390,6 +390,7 @@ typedef unsigned smalluint; | |||
390 | #define HAVE_STRSIGNAL 1 | 390 | #define HAVE_STRSIGNAL 1 |
391 | #define HAVE_STRVERSCMP 1 | 391 | #define HAVE_STRVERSCMP 1 |
392 | #define HAVE_VASPRINTF 1 | 392 | #define HAVE_VASPRINTF 1 |
393 | #define HAVE_USLEEP 1 | ||
393 | #define HAVE_UNLOCKED_STDIO 1 | 394 | #define HAVE_UNLOCKED_STDIO 1 |
394 | #define HAVE_UNLOCKED_LINE_OPS 1 | 395 | #define HAVE_UNLOCKED_LINE_OPS 1 |
395 | #define HAVE_GETLINE 1 | 396 | #define HAVE_GETLINE 1 |
@@ -398,8 +399,15 @@ typedef unsigned smalluint; | |||
398 | #define HAVE_NET_ETHERNET_H 1 | 399 | #define HAVE_NET_ETHERNET_H 1 |
399 | #define HAVE_SYS_STATFS_H 1 | 400 | #define HAVE_SYS_STATFS_H 1 |
400 | 401 | ||
401 | #if defined(__UCLIBC__) && UCLIBC_VERSION < KERNEL_VERSION(0, 9, 32) | 402 | #if defined(__UCLIBC__) |
402 | # undef HAVE_STRVERSCMP | 403 | # if UCLIBC_VERSION < KERNEL_VERSION(0, 9, 32) |
404 | # undef HAVE_STRVERSCMP | ||
405 | # endif | ||
406 | # if UCLIBC_VERSION >= KERNEL_VERSION(0, 9, 30) | ||
407 | # ifndef __UCLIBC_SUSV3_LEGACY__ | ||
408 | # undef HAVE_USLEEP | ||
409 | # endif | ||
410 | # endif | ||
403 | #endif | 411 | #endif |
404 | 412 | ||
405 | #if ENABLE_PLATFORM_MINGW32 | 413 | #if ENABLE_PLATFORM_MINGW32 |
@@ -554,6 +562,10 @@ extern char *strsep(char **stringp, const char *delim) FAST_FUNC; | |||
554 | # define strsignal(sig) get_signame(sig) | 562 | # define strsignal(sig) get_signame(sig) |
555 | #endif | 563 | #endif |
556 | 564 | ||
565 | #ifndef HAVE_USLEEP | ||
566 | extern int usleep(unsigned) FAST_FUNC; | ||
567 | #endif | ||
568 | |||
557 | #ifndef HAVE_VASPRINTF | 569 | #ifndef HAVE_VASPRINTF |
558 | # include <stdarg.h> | 570 | # include <stdarg.h> |
559 | extern int vasprintf(char **string_ptr, const char *format, va_list p) FAST_FUNC; | 571 | extern int vasprintf(char **string_ptr, const char *format, va_list p) FAST_FUNC; |