Guard against macro versions of isblank().
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 12 Apr 2003 22:28:45 +0000 (22:28 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 12 Apr 2003 22:28:45 +0000 (22:28 +0000)
src/backend/libpq/hba.c

index 80fe645c1a3226f0a11fb60fb08c1db0a992f472..f40938a0a806e60a1182d32f13aa345af2a6598a 100644 (file)
@@ -10,7 +10,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/libpq/hba.c,v 1.79 2002/01/09 19:13:40 tgl Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/libpq/hba.c,v 1.79.2.1 2003/04/12 22:28:45 tgl Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -57,8 +57,13 @@ static List *ident_lines = NIL; /* pre-parsed contents of ident file */
 
 /*
  * 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)
 {