From afed1af6963eae2274d694eb6eaf320a0d003562 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sat, 12 Apr 2003 22:28:45 +0000 Subject: [PATCH] Guard against macro versions of isblank(). --- src/backend/libpq/hba.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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) { -- 2.39.5