diff options
author | Bruce Momjian | 2004-09-08 19:43:12 +0000 |
---|---|---|
committer | Bruce Momjian | 2004-09-08 19:43:12 +0000 |
commit | e97c817092fa49165b57021e4b6c0a5ad852e589 (patch) | |
tree | 1e9eb8f3559a31496d0efa33d6e907f5dc2bb2d8 /src/timezone/pgtz.c | |
parent | cef30c650beec45c022338f816d9c3ee2ce496e3 (diff) |
Use _timezone global on Cygwin instead of timezone.
Diffstat (limited to 'src/timezone/pgtz.c')
-rw-r--r-- | src/timezone/pgtz.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/timezone/pgtz.c b/src/timezone/pgtz.c index f12b025e92d..e8b0fe75f88 100644 --- a/src/timezone/pgtz.c +++ b/src/timezone/pgtz.c @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group * * IDENTIFICATION - * $PostgreSQL: pgsql/src/timezone/pgtz.c,v 1.27 2004/09/02 01:15:06 momjian Exp $ + * $PostgreSQL: pgsql/src/timezone/pgtz.c,v 1.28 2004/09/08 19:43:12 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -96,11 +96,7 @@ get_timezone_offset(struct tm * tm) #if defined(HAVE_STRUCT_TM_TM_ZONE) return tm->tm_gmtoff; #elif defined(HAVE_INT_TIMEZONE) -#ifdef HAVE_UNDERSCORE_TIMEZONE - return -_timezone; -#else - return -timezone; -#endif + return -TIMEZONE_GLOBAL; #else #error No way to determine TZ? Can this happen? #endif |