]> granicus.if.org Git - postgresql/commitdiff
Guard against macro versions of isblank().
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 12 Apr 2003 22:28:40 +0000 (22:28 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 12 Apr 2003 22:28:40 +0000 (22:28 +0000)
src/backend/libpq/hba.c

index ea04cfc2bd933f55bf5252991e8134a514230b93..c3c4893b9588dc6e9d848d6fc7611ca4777b18f7 100644 (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)
 {