From: Jim Meyering Date: Fri, 16 Jan 2004 10:06:48 +0000 (+0000) Subject: Test HAVE_DECL_GETC_UNLOCKED, rather than HAVE_GETC_UNLOCKED. X-Git-Tag: v5.1.1~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35a86d71749fecef77470147310f34a13c40e055;p=thirdparty%2Fcoreutils.git Test HAVE_DECL_GETC_UNLOCKED, rather than HAVE_GETC_UNLOCKED. --- 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