summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2004-09-09 00:24:12 +0000
committerBruce Momjian <bruce@momjian.us>2004-09-09 00:24:12 +0000
commitb70999d0fd9a43288842f27b10cf317144ac9ff1 (patch)
tree0de17415de03f2fbe091f703b0888555ce50f412 /src/include
parentf62901ca810fe3c030b80adae1dbf8cf95d3db6c (diff)
Make TZNAME_GLOBAL for reference to tzname global variable.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/port.h5
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);