diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-03-19 06:24:20 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-03-19 06:24:20 +0000 |
commit | e2f6ebd3f2969753e4ffc337ce5fb6cdf9d74775 (patch) | |
tree | aa7553e1b76e25ecdaa3aa7a2b8e29d9159f8974 /include/stdlib.h | |
parent | 6893f5d8b3fdf6ce65274b90b0b4b0bda9107b17 (diff) |
Fix up breakage resulting from flipping the sense of some defines. Change from
defining things to "0" in the disabled case to outright undefining them, lest
code that does an "#ifdef FOO" get inadvertantly triggered. Remove now
unneeded lines from Rules.mak which makes the command line smaller and avoids
redundancy (since this stuff is now pulled in via features.h).
-Erik
Diffstat (limited to 'include/stdlib.h')
-rw-r--r-- | include/stdlib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stdlib.h b/include/stdlib.h index f802d337e..6102eea5a 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -48,7 +48,7 @@ extern long strtol __P ((const char * nptr, char ** endptr, int base)); extern unsigned long strtoul __P ((const char * nptr, char ** endptr, int base)); extern long long strtoll __P ((const char * nptr, char ** endptr, int base)); extern unsigned long long strtoull __P ((const char * nptr, char ** endptr, int base)); -#ifndef __HAS_NO_FLOATS__ +#ifdef __UCLIBC_HAS_FLOATS__ /*TODO: extern char * gcvt __P ((double number, size_t ndigit, char * buf)); */ extern double strtod __P ((const char * nptr, char ** endptr)); #endif |