diff options
author | Jim Meyering <jim@meyering.net> | 1998-08-01 15:47:26 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-08-01 15:47:26 +0000 |
commit | d5c69ef7978a2cce88ba8ba1fbbeb4a657aafcd2 (patch) | |
tree | 01995cdc4bafb57bccd62600f034b9df318d5e8f /src | |
parent | eb8ea6eac558c6f63e813840a05697c634c98da0 (diff) | |
download | coreutils-d5c69ef7978a2cce88ba8ba1fbbeb4a657aafcd2.tar.xz |
(my_setlocale): Guard definition within #ifdef ENABLE_NLS.
Diffstat (limited to 'src')
-rw-r--r-- | src/sort.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sort.c b/src/sort.c index c9882313d..ce5aa1536 100644 --- a/src/sort.c +++ b/src/sort.c @@ -2429,7 +2429,7 @@ key_init (struct keyfield *key) /* strdup and return the result of setlocale, but guard against a NULL return value. If setlocale returns NULL, strdup FAIL_VAL instead. */ -#if !defined __GLIBC__ || __GLIBC__ < 2 +#if defined ENABLE_NLS && ( !defined __GLIBC__ || __GLIBC__ < 2 ) static inline char * my_setlocale (const char *locale, const char *fail_val) { |