aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2004-09-09 14:18:20 +0000
committerBruce Momjian <bruce@momjian.us>2004-09-09 14:18:20 +0000
commitb493b390048a9d7a66021b5f2fb71f049becc9e4 (patch)
tree2d503f3f7c1e9599e9ca785aee5475bf709b63c3
parentcec5d26d3491354ccfefbfd79865b35021efaa7c (diff)
downloadpostgresql-b493b390048a9d7a66021b5f2fb71f049becc9e4.tar.gz
postgresql-b493b390048a9d7a66021b5f2fb71f049becc9e4.zip
Move TIMEZONE_GLOBAL out into the proper place.
-rw-r--r--src/include/port.h20
1 files 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 */