diff options
author | Ron Yorston <rmy@pobox.com> | 2012-03-22 13:15:08 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2012-03-22 13:15:08 +0000 |
commit | c0d4367d6b581eb5989c02815880cf0fa2851ae8 (patch) | |
tree | 868c266e627e2d7f65ba5a4d5f98a1c421453181 /include/platform.h | |
parent | f6bad5ef766b0447158e3de2f55c35f1f6cecb58 (diff) | |
parent | da4441c44f6efccb6f7b7588404d9c6bfb7b6af8 (diff) | |
download | busybox-w32-c0d4367d6b581eb5989c02815880cf0fa2851ae8.tar.gz busybox-w32-c0d4367d6b581eb5989c02815880cf0fa2851ae8.tar.bz2 busybox-w32-c0d4367d6b581eb5989c02815880cf0fa2851ae8.zip |
Merge commit 'da4441c44f6efccb6f7b7588404d9c6bfb7b6af8' into merge
Conflicts:
libbb/vfork_daemon_rexec.c
networking/wget.c
procps/ps.c
Diffstat (limited to 'include/platform.h')
-rw-r--r-- | include/platform.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/include/platform.h b/include/platform.h index c272fbb05..395ec5d45 100644 --- a/include/platform.h +++ b/include/platform.h | |||
@@ -28,6 +28,7 @@ | |||
28 | #define HAVE_PTSNAME_R 1 | 28 | #define HAVE_PTSNAME_R 1 |
29 | #define HAVE_SETBIT 1 | 29 | #define HAVE_SETBIT 1 |
30 | #define HAVE_SIGHANDLER_T 1 | 30 | #define HAVE_SIGHANDLER_T 1 |
31 | #define HAVE_STPCPY 1 | ||
31 | #define HAVE_STRCASESTR 1 | 32 | #define HAVE_STRCASESTR 1 |
32 | #define HAVE_STRCHRNUL 1 | 33 | #define HAVE_STRCHRNUL 1 |
33 | #define HAVE_STRSEP 1 | 34 | #define HAVE_STRSEP 1 |
@@ -374,13 +375,16 @@ typedef unsigned smalluint; | |||
374 | # define ADJ_TICK MOD_CLKB | 375 | # define ADJ_TICK MOD_CLKB |
375 | # endif | 376 | # endif |
376 | 377 | ||
378 | # undef HAVE_STPCPY | ||
379 | |||
377 | #else | 380 | #else |
378 | 381 | ||
379 | # define bb_setpgrp() setpgrp() | 382 | # define bb_setpgrp() setpgrp() |
380 | 383 | ||
381 | #endif | 384 | #endif |
382 | 385 | ||
383 | #if defined(__GLIBC__) | 386 | #include <unistd.h> |
387 | #if (defined(_POSIX_VERSION) && _POSIX_VERSION >= 200809L) || defined(__GLIBC__) | ||
384 | # define fdprintf dprintf | 388 | # define fdprintf dprintf |
385 | #endif | 389 | #endif |
386 | 390 | ||
@@ -393,6 +397,7 @@ typedef unsigned smalluint; | |||
393 | # undef HAVE_MEMRCHR | 397 | # undef HAVE_MEMRCHR |
394 | # undef HAVE_MKDTEMP | 398 | # undef HAVE_MKDTEMP |
395 | # undef HAVE_SETBIT | 399 | # undef HAVE_SETBIT |
400 | # undef HAVE_STPCPY | ||
396 | # undef HAVE_STRCASESTR | 401 | # undef HAVE_STRCASESTR |
397 | # undef HAVE_STRCHRNUL | 402 | # undef HAVE_STRCHRNUL |
398 | # undef HAVE_STRSIGNAL | 403 | # undef HAVE_STRSIGNAL |
@@ -406,6 +411,7 @@ typedef unsigned smalluint; | |||
406 | # undef HAVE_MEMRCHR | 411 | # undef HAVE_MEMRCHR |
407 | # undef HAVE_MKDTEMP | 412 | # undef HAVE_MKDTEMP |
408 | # undef HAVE_SETBIT | 413 | # undef HAVE_SETBIT |
414 | # undef HAVE_STPCPY | ||
409 | # undef HAVE_STRCASESTR | 415 | # undef HAVE_STRCASESTR |
410 | # undef HAVE_STRCHRNUL | 416 | # undef HAVE_STRCHRNUL |
411 | # undef HAVE_STRSEP | 417 | # undef HAVE_STRSEP |
@@ -444,6 +450,10 @@ extern char *mkdtemp(char *template) FAST_FUNC; | |||
444 | typedef void (*sighandler_t)(int); | 450 | typedef void (*sighandler_t)(int); |
445 | #endif | 451 | #endif |
446 | 452 | ||
453 | #ifndef HAVE_STPCPY | ||
454 | extern char *stpcpy(char *p, const char *to_add) FAST_FUNC; | ||
455 | #endif | ||
456 | |||
447 | #ifndef HAVE_STRCASESTR | 457 | #ifndef HAVE_STRCASESTR |
448 | extern char *strcasestr(const char *s, const char *pattern) FAST_FUNC; | 458 | extern char *strcasestr(const char *s, const char *pattern) FAST_FUNC; |
449 | #endif | 459 | #endif |