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