1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-11 00:12:06 +03:00

Guard against macro versions of isblank().

This commit is contained in:
Tom Lane
2003-04-12 22:28:40 +00:00
parent 5d6b0a43dc
commit 041ab272c7

View File

@@ -10,7 +10,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/libpq/hba.c,v 1.87.2.2 2002/12/14 18:49:43 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/libpq/hba.c,v 1.87.2.3 2003/04/12 22:28:40 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -70,8 +70,13 @@ static char *tokenize_inc_file(const char *inc_filename);
/*
* 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)
{