summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-01-16 10:06:48 +0000
committerJim Meyering <jim@meyering.net>2004-01-16 10:06:48 +0000
commit35a86d71749fecef77470147310f34a13c40e055 (patch)
treeab1b597fec9828f57186e5aea5ddd62818e6d1f7 /lib
parente8770d98edd3c3d6f4b990359307de5a102c856b (diff)
downloadcoreutils-35a86d71749fecef77470147310f34a13c40e055.tar.xz
Test HAVE_DECL_GETC_UNLOCKED, rather than HAVE_GETC_UNLOCKED.
Diffstat (limited to 'lib')
-rw-r--r--lib/localcharset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/localcharset.c b/lib/localcharset.c
index eb5563df4..5b146e795 100644
--- a/lib/localcharset.c
+++ b/lib/localcharset.c
@@ -85,7 +85,7 @@
# define ISSLASH(C) ((C) == DIRECTORY_SEPARATOR)
#endif
-#ifdef HAVE_GETC_UNLOCKED
+#if HAVE_DECL_GETC_UNLOCKED
# undef getc
# define getc getc_unlocked
#endif