From 35a86d71749fecef77470147310f34a13c40e055 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 16 Jan 2004 10:06:48 +0000 Subject: [PATCH] Test HAVE_DECL_GETC_UNLOCKED, rather than HAVE_GETC_UNLOCKED. --- lib/localcharset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/localcharset.c b/lib/localcharset.c index eb5563df49..5b146e7957 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 -- 2.47.2