diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/stdlib.h | 2 | ||||
-rw-r--r-- | include/unistd.h | 6 |
2 files changed, 4 insertions, 4 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 diff --git a/include/unistd.h b/include/unistd.h index 916d972a0..16deb1ac3 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -646,10 +646,10 @@ extern int setegid __P ((__gid_t __gid)); /* Clone the calling process, creating an exact copy. Return -1 for errors, 0 to the new process, and the process ID of the new process to the old process. */ -#ifdef __HAS_NO_MMU__ -#define fork fork_not_available_on_mmuless_systems -#else +#ifdef __UCLIBC_HAS_MMU__ extern __pid_t fork __P ((void)); +#else +#define fork fork_not_available_on_mmuless_systems #endif #if defined __USE_BSD || defined __USE_XOPEN_EXTENDED |