diff options
-rw-r--r-- | lib/localcharset.c | 2 |
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 |