1
0
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:
Tom Lane
2002-10-18 20:33:57 +00:00
parent dad34ba567
commit 6c06bc2644
3 changed files with 7 additions and 11 deletions

View File

@@ -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