Skip to content
Snippets Groups Projects
Commit ae02cf3c authored by Tom Lane's avatar Tom Lane
Browse files

Guard against macro versions of isblank().

parent 35a09959
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/libpq/hba.c,v 1.96 2003/04/03 21:25:02 tgl Exp $
* $Header: /cvsroot/pgsql/src/backend/libpq/hba.c,v 1.97 2003/04/12 22:28:33 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)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment