projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb8ea6e
)
(my_setlocale): Guard definition within #ifdef ENABLE_NLS.
author
Jim Meyering
<jim@meyering.net>
Sat, 1 Aug 1998 15:47:26 +0000
(15:47 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sat, 1 Aug 1998 15:47:26 +0000
(15:47 +0000)
src/sort.c
patch
|
blob
|
history
diff --git
a/src/sort.c
b/src/sort.c
index
c988231
..
ce5aa15
100644
(file)
--- 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)
{