|
6 | 6 | * Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
|
7 | 7 | * Portions Copyright (c) 1994, Regents of the University of California
|
8 | 8 | *
|
9 |
| - * $PostgreSQL: pgsql/src/include/port.h,v 1.60 2004/09/0900:59:41 momjian Exp $ |
| 9 | + * $PostgreSQL: pgsql/src/include/port.h,v 1.61 2004/09/0914:18:20 momjian Exp $ |
10 | 10 | *
|
11 | 11 | *-------------------------------------------------------------------------
|
12 | 12 | */
|
@@ -150,6 +150,15 @@ extern intpgkill(int pid, int sig);
|
150 | 150 |
|
151 | 151 | externintpclose_check(FILE*stream);
|
152 | 152 |
|
| 153 | +/* Global variable holding time zone information. */ |
| 154 | +#ifndef__CYGWIN__ |
| 155 | +#defineTIMEZONE_GLOBAL timezone |
| 156 | +#defineTZNAME_GLOBAL tzname |
| 157 | +#else |
| 158 | +#defineTIMEZONE_GLOBAL _timezone |
| 159 | +#defineTZNAME_GLOBAL _tzname |
| 160 | +#endif |
| 161 | + |
153 | 162 | #if defined(WIN32)|| defined(__CYGWIN__)
|
154 | 163 | /*
|
155 | 164 | *Win32 doesn't have reliable rename/unlink during concurrent access,
|
@@ -180,15 +189,6 @@ extern intwin32_open(const char *, int,...);
|
180 | 189 | #definepclose(a) _pclose(a)
|
181 | 190 | #endif
|
182 | 191 |
|
183 |
| -/* Global variable holding time zone information. */ |
184 |
| -#ifndef__CYGWIN__ |
185 |
| -#defineTIMEZONE_GLOBAL timezone |
186 |
| -#defineTZNAME_GLOBAL tzname |
187 |
| -#else |
188 |
| -#defineTIMEZONE_GLOBAL _timezone |
189 |
| -#defineTZNAME_GLOBAL _tzname |
190 |
| -#endif |
191 |
| - |
192 | 192 | externintcopydir(char*fromdir,char*todir);
|
193 | 193 |
|
194 | 194 | /* Missing rand functions */
|
|