Propagating gettext into gnulib a bit better.
[gnulib.git] / lib / localcharset.c
index eb5563d..5b146e7 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