diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2003-04-12 22:28:33 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2003-04-12 22:28:33 +0000 |
commit | ae02cf3c44a337860d2c1043162176718666cf95 (patch) | |
tree | cecf2289f3cf917e72d4eaa98e9e11afea5eb831 /src | |
parent | 35a0995992ea18018f8fb04a148a8b3ef065032f (diff) | |
download | postgresql-ae02cf3c44a337860d2c1043162176718666cf95.tar.gz postgresql-ae02cf3c44a337860d2c1043162176718666cf95.zip |
Guard against macro versions of isblank().
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/libpq/hba.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/backend/libpq/hba.c b/src/backend/libpq/hba.c index b5164c657ff..ed4b2d5530c 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.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) { |