From: Tom Lane Date: Sat, 12 Apr 2003 22:28:45 +0000 (+0000) Subject: Guard against macro versions of isblank(). X-Git-Tag: REL7_2_5~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=afed1af6963eae2274d694eb6eaf320a0d003562;p=thirdparty%2Fpostgresql.git Guard against macro versions of isblank(). --- diff --git a/src/backend/libpq/hba.c b/src/backend/libpq/hba.c index 80fe645c1a3..f40938a0a80 100644 --- a/src/backend/libpq/hba.c +++ b/src/backend/libpq/hba.c @@ -10,7 +10,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/libpq/hba.c,v 1.79 2002/01/09 19:13:40 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/libpq/hba.c,v 1.79.2.1 2003/04/12 22:28:45 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -57,8 +57,13 @@ static List *ident_lines = NIL; /* pre-parsed contents of ident file */ /* * Some standard C libraries, including GNU, have an isblank() function. - * Others, including Solaris, do not. So we have our own. + * Others, including Solaris, do not. So we have our own. Watch out for + * macro-ized versions, too. */ +#ifdef isblank +#undef isblank +#endif + static bool isblank(const char c) {