diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2011-06-30 02:59:17 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-06-30 02:59:17 +0200 |
commit | 75214cfe00c72c51c67c9ac2541f06b0540136f1 (patch) | |
tree | 98b611e6152e59a4cab9c0a44bef43a67aacc476 /include/platform.h | |
parent | 0c4cf42c1e4fbb5af8952cfbec926fe7d7b318d5 (diff) | |
download | busybox-w32-75214cfe00c72c51c67c9ac2541f06b0540136f1.tar.gz busybox-w32-75214cfe00c72c51c67c9ac2541f06b0540136f1.tar.bz2 busybox-w32-75214cfe00c72c51c67c9ac2541f06b0540136f1.zip |
Use the _unlocked stdio macros only when they're all available
Signed-off-by: Dan Fandrich <dan@coneharvesters.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to '')
-rw-r--r-- | include/platform.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/platform.h b/include/platform.h index d186e4911..60864c929 100644 --- a/include/platform.h +++ b/include/platform.h | |||
@@ -350,16 +350,14 @@ typedef unsigned smalluint; | |||
350 | #define HAVE_STRSIGNAL 1 | 350 | #define HAVE_STRSIGNAL 1 |
351 | #define HAVE_STRVERSCMP 1 | 351 | #define HAVE_STRVERSCMP 1 |
352 | #define HAVE_VASPRINTF 1 | 352 | #define HAVE_VASPRINTF 1 |
353 | #define HAVE_UNLOCKED_STDIO 1 | ||
354 | #define HAVE_UNLOCKED_LINE_OPS 1 | ||
353 | #define HAVE_GETLINE 1 | 355 | #define HAVE_GETLINE 1 |
354 | #define HAVE_XTABS 1 | 356 | #define HAVE_XTABS 1 |
355 | #define HAVE_MNTENT_H 1 | 357 | #define HAVE_MNTENT_H 1 |
356 | #define HAVE_NET_ETHERNET_H 1 | 358 | #define HAVE_NET_ETHERNET_H 1 |
357 | #define HAVE_SYS_STATFS_H 1 | 359 | #define HAVE_SYS_STATFS_H 1 |
358 | 360 | ||
359 | #if defined(__GLIBC__) && (__GLIBC__ < 2 || __GLIBC_MINOR__ < 1) | ||
360 | # undef HAVE_NET_ETHERNET_H | ||
361 | #endif | ||
362 | |||
363 | #if defined(__UCLIBC_MAJOR__) | 361 | #if defined(__UCLIBC_MAJOR__) |
364 | # if __UCLIBC_MAJOR__ == 0 \ | 362 | # if __UCLIBC_MAJOR__ == 0 \ |
365 | && ( __UCLIBC_MINOR__ < 9 \ | 363 | && ( __UCLIBC_MINOR__ < 9 \ |
@@ -369,7 +367,6 @@ typedef unsigned smalluint; | |||
369 | # endif | 367 | # endif |
370 | #endif | 368 | #endif |
371 | 369 | ||
372 | |||
373 | #if defined(__dietlibc__) | 370 | #if defined(__dietlibc__) |
374 | # undef HAVE_STRCHRNUL | 371 | # undef HAVE_STRCHRNUL |
375 | #endif | 372 | #endif |
@@ -387,6 +384,8 @@ typedef unsigned smalluint; | |||
387 | # undef HAVE_STRSIGNAL | 384 | # undef HAVE_STRSIGNAL |
388 | # undef HAVE_STRVERSCMP | 385 | # undef HAVE_STRVERSCMP |
389 | # undef HAVE_VASPRINTF | 386 | # undef HAVE_VASPRINTF |
387 | # undef HAVE_UNLOCKED_STDIO | ||
388 | # undef HAVE_UNLOCKED_LINE_OPS | ||
390 | # undef HAVE_NET_ETHERNET_H | 389 | # undef HAVE_NET_ETHERNET_H |
391 | #endif | 390 | #endif |
392 | 391 | ||
@@ -424,6 +423,7 @@ typedef unsigned smalluint; | |||
424 | # undef HAVE_STPCPY | 423 | # undef HAVE_STPCPY |
425 | # undef HAVE_STRCHRNUL | 424 | # undef HAVE_STRCHRNUL |
426 | # undef HAVE_STRVERSCMP | 425 | # undef HAVE_STRVERSCMP |
426 | # undef HAVE_UNLOCKED_LINE_OPS | ||
427 | # undef HAVE_NET_ETHERNET_H | 427 | # undef HAVE_NET_ETHERNET_H |
428 | #endif | 428 | #endif |
429 | 429 | ||