From b493b390048a9d7a66021b5f2fb71f049becc9e4 Mon Sep 17 00:00:00 2001
From: Bruce Momjian <bruce@momjian.us>
Date: Thu, 9 Sep 2004 14:18:20 +0000
Subject: [PATCH] Move TIMEZONE_GLOBAL out into the proper place.

---
 src/include/port.h | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/src/include/port.h b/src/include/port.h
index b5de0d2d149..a95b5c34554 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.60 2004/09/09 00:59:41 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/port.h,v 1.61 2004/09/09 14:18:20 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -150,6 +150,15 @@ extern int	pgkill(int pid, int sig);
 
 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,15 +189,6 @@ extern int	win32_open(const char *, int,...);
 #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 */
-- 
GitLab