mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-12 18:34:36 +08:00
Guard against macro versions of isblank().
This commit is contained in:
parent
35a0995992
commit
ae02cf3c44
@ -10,7 +10,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* 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.
|
* 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
|
static bool
|
||||||
isblank(const char c)
|
isblank(const char c)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user