]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Test HAVE_DECL_GETC_UNLOCKED, rather than HAVE_GETC_UNLOCKED.
authorJim Meyering <jim@meyering.net>
Fri, 16 Jan 2004 10:06:48 +0000 (10:06 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 16 Jan 2004 10:06:48 +0000 (10:06 +0000)
lib/localcharset.c

index eb5563df49a3c9e356daa118e8da5705a2e674de..5b146e795796ad63d40560b3052aa16bca14fabb 100644 (file)
@@ -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