mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
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.
This commit is contained in:
@ -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 */
|
||||
|
Reference in New Issue
Block a user