Index: src/include/port.h =================================================================== RCS file: /cvsroot/pgsql-server/src/include/port.h,v retrieving revision 1.60 diff -c -c -r1.60 port.h *** src/include/port.h 9 Sep 2004 00:59:41 -0000 1.60 --- src/include/port.h 9 Sep 2004 14:16:32 -0000 *************** *** 150,155 **** --- 150,164 ---- extern int pclose_check(FILE *stream); + /* Global variable holding time zone information. */ + #ifndef __CYGWIN__ + #define TIMEZONE_GLOBAL timezone + #define TZNAME_GLOBAL tzname + #else + #define TIMEZONE_GLOBAL _timezone + #define TZNAME_GLOBAL _tzname + #endif + #if defined(WIN32) || defined(__CYGWIN__) /* * Win32 doesn't have reliable rename/unlink during concurrent access, *************** *** 180,194 **** #define pclose(a) _pclose(a) #endif - /* Global variable holding time zone information. */ - #ifndef __CYGWIN__ - #define TIMEZONE_GLOBAL timezone - #define TZNAME_GLOBAL tzname - #else - #define TIMEZONE_GLOBAL _timezone - #define TZNAME_GLOBAL _tzname - #endif - extern int copydir(char *fromdir, char *todir); /* Missing rand functions */ --- 189,194 ----