1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-03 15:22:11 +03:00

Make TZNAME_GLOBAL for reference to tzname global variable.

This commit is contained in:
Bruce Momjian
2004-09-09 00:24:12 +00:00
parent f62901ca81
commit b70999d0fd
3 changed files with 6 additions and 5 deletions

View File

@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $PostgreSQL: pgsql/src/include/port.h,v 1.58 2004/09/08 19:43:07 momjian Exp $
* $PostgreSQL: pgsql/src/include/port.h,v 1.59 2004/09/09 00:24:10 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -183,9 +183,10 @@ extern int win32_open(const char *, int,...);
/* Global variable holding time zone information. */
#if !defined(__CYGWIN__)
#define TIMEZONE_GLOBAL timezone
#define TZNAME_GLOBAL tzname
#else
#define TIMEZONE_GLOBAL _timezone
#define tzname _tzname /* should be in time.h? */
#define TZNAME_GLOBAL _tzname
#endif
extern int copydir(char *fromdir, char *todir);