mirror of
https://github.com/postgres/postgres.git
synced 2025-08-09 17:03:00 +03:00
Fix bogus "extern int errno;" in back branches, per Andrew Dunstan.
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
#include "postgres.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <math.h>
|
||||
|
||||
#include "utils/elog.h"
|
||||
@@ -17,7 +18,6 @@
|
||||
#undef yylex /* falure to redefine yylex will result in calling the */
|
||||
#define yylex seg_yylex /* wrong scanner when running inside postgres backend */
|
||||
|
||||
extern int errno;
|
||||
extern int yylex(); /* defined as seg_yylex in segscan.c */
|
||||
extern int significant_digits( char *str ); /* defined in seg.c */
|
||||
|
||||
|
Reference in New Issue
Block a user