diff options
Diffstat (limited to 'libc/misc/locale/locale.c')
-rw-r--r-- | libc/misc/locale/locale.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/misc/locale/locale.c b/libc/misc/locale/locale.c index 77d3f1e5d..b73ffa3dd 100644 --- a/libc/misc/locale/locale.c +++ b/libc/misc/locale/locale.c @@ -46,6 +46,7 @@ * locale support had (8-bit codesets only). */ +#define stpcpy __stpcpy #define strtok_r __strtok_r #define _GNU_SOURCE @@ -1241,7 +1242,7 @@ __locale_t __newlocale(int category_mask, const char *locale, __locale_t base) j = 0; do { p = envstr[j]; - } while ((++j < 4) && (!(p = getenv(p)) || !*p)); + } while ((++j < 4) && (!(p = __getenv(p)) || !*p)); /* The user set something... is it valid? */ |