diff options
Diffstat (limited to 'src/include/port.h')
-rw-r--r-- | src/include/port.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/include/port.h b/src/include/port.h index 080026e1c89..5c554ccf3a4 100644 --- a/src/include/port.h +++ b/src/include/port.h @@ -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); |