summaryrefslogtreecommitdiff
path: root/contrib/tsearch2
diff options
context:
space:
mode:
authorTom Lane2005-10-15 20:37:36 +0000
committerTom Lane2005-10-15 20:37:36 +0000
commitad148c4154b7fccbfc28a19769d36c91090aee3b (patch)
tree72b247f37debbcdda981fbb6cdd8438ed3b99c23 /contrib/tsearch2
parentb562639561c11e2c54042de847106222d8f698d9 (diff)
Suppress warnings on platforms where fprintf is a macro (eg, recent
Fedora). This was already done by somebody for the core flex files, but these contrib files seem to have been missed.
Diffstat (limited to 'contrib/tsearch2')
-rw-r--r--contrib/tsearch2/wordparser/parser.l1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/tsearch2/wordparser/parser.l b/contrib/tsearch2/wordparser/parser.l
index 179c99c9dac..a7cb4684c32 100644
--- a/contrib/tsearch2/wordparser/parser.l
+++ b/contrib/tsearch2/wordparser/parser.l
@@ -6,6 +6,7 @@
#include "common.h"
/* Avoid exit() on fatal scanner errors */
+#undef fprintf
#define fprintf(file, fmt, msg) ts_error(ERROR, fmt, msg)
char *token = NULL; /* pointer to token */