about summary refs log tree commit diff
path: root/Src/params.c
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-10-22 12:56:43 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-10-22 12:56:43 +0000
commit97fa7e4889341f41a3f481361b2e8a6c552d8186 (patch)
treee3c9ac9f1cca6dd248275e1c756c938ec45ff85e /Src/params.c
parentda00a3929010ef8fc69a16dd65666b23b93c47c2 (diff)
downloadzsh-97fa7e4889341f41a3f481361b2e8a6c552d8186.tar.gz
zsh-97fa7e4889341f41a3f481361b2e8a6c552d8186.tar.xz
zsh-97fa7e4889341f41a3f481361b2e8a6c552d8186.zip
zsh-workers/8372
Diffstat (limited to 'Src/params.c')
-rw-r--r--Src/params.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Src/params.c b/Src/params.c
index 9f54084af..64aa7c865 100644
--- a/Src/params.c
+++ b/Src/params.c
@@ -146,7 +146,7 @@ IPDEF2("WORDCHARS", wordcharsgetfn, wordcharssetfn, 0),
 IPDEF2("IFS", ifsgetfn, ifssetfn, PM_DONTIMPORT),
 IPDEF2("_", underscoregetfn, nullsetfn, PM_READONLY),
 
-#ifdef LC_ALL
+#ifdef USE_LOCALE
 # define LCIPDEF(name) IPDEF2(name, strgetfn, lcsetfn, PM_UNSET)
 IPDEF2("LANG", strgetfn, langsetfn, PM_UNSET),
 IPDEF2("LC_ALL", strgetfn, lc_allsetfn, PM_UNSET),
@@ -162,7 +162,7 @@ LCIPDEF("LC_MESSAGES"),
 # ifdef LC_TIME
 LCIPDEF("LC_TIME"),
 # endif
-#endif
+#endif /* USE_LOCALE */
 
 #define IPDEF4(A,B) {NULL,A,PM_INTEGER|PM_READONLY|PM_SPECIAL,BR((void *)B),SFN(nullsetfn),GFN(intvargetfn),stdunsetfn,10,NULL,NULL,NULL,0}
 IPDEF4("!", &lastpid),
@@ -2444,7 +2444,7 @@ ifssetfn(Param pm, char *x)
 
 /* Functions to set value of special parameters `LANG' and `LC_*' */
 
-#ifdef LC_ALL
+#ifdef USE_LOCALE
 static struct localename {
     char *name;
     int category;
@@ -2511,7 +2511,7 @@ lcsetfn(Param pm, char *x)
 	if (!strcmp(ln->name, pm->nam))
 	    setlocale(ln->category, x ? x : "");
 }
-#endif
+#endif /* USE_LOCALE */
 
 /* Function to get value for special parameter `HISTSIZE' */