summaryrefslogtreecommitdiff
path: root/contrib/seg/segscan.l
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/seg/segscan.l')
-rw-r--r--contrib/seg/segscan.l1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/seg/segscan.l b/contrib/seg/segscan.l
index 24ad662910..817300993d 100644
--- a/contrib/seg/segscan.l
+++ b/contrib/seg/segscan.l
@@ -9,6 +9,7 @@
#define YY_READ_BUF_SIZE 16777216
/* Avoid exit() on fatal scanner errors (a bit ugly -- see yy_fatal_error) */
+#undef fprintf
#define fprintf(file, fmt, msg) ereport(ERROR, (errmsg_internal("%s", msg)))
/* Handles to the buffer that the lexer uses internally */