mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
Make 'dummy' declarations in header files be 'extern int no_such_variable'
instead of 'extern int errno'; the latter is unsafe according to the ANSI C standard, as well as in practice on some platforms.
This commit is contained in:
@@ -177,11 +177,7 @@ __DATA__
|
||||
#endif
|
||||
|
||||
#ifndef dTHR
|
||||
#ifdef WIN32
|
||||
#define dTHR extern int Perl___notused
|
||||
#else
|
||||
#define dTHR extern int errno
|
||||
#endif
|
||||
#define dTHR extern int no_such_variable
|
||||
#endif
|
||||
|
||||
#ifndef boolSV
|
||||
|
Reference in New Issue
Block a user