diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 1999-05-01 17:14:56 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 1999-05-01 17:14:56 +0000 |
commit | c422e1a93d9f9fa6590ccbdc1bcc0909d1555d95 (patch) | |
tree | ce1f4413e2578e5bbb5390a5024878bdce12ee5c /src | |
parent | b4c7a5655d2da481d8425a48843295615f563972 (diff) | |
download | postgresql-c422e1a93d9f9fa6590ccbdc1bcc0909d1555d95.tar.gz postgresql-c422e1a93d9f9fa6590ccbdc1bcc0909d1555d95.zip |
Fix compile failures in dt.c --- line broken in middle of
an identifier :-(. Sloppy transmission of a patch, likely.
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/utils/adt/dt.c | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/src/backend/utils/adt/dt.c b/src/backend/utils/adt/dt.c index 4ab65561e1c..a055a03df80 100644 --- a/src/backend/utils/adt/dt.c +++ b/src/backend/utils/adt/dt.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/dt.c,v 1.69 1999/04/26 04:42:48 ishii Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/dt.c,v 1.70 1999/05/01 17:14:56 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -3068,18 +3068,16 @@ DecodeDateTime(char **field, int *ftype, int nf, #if defined(HAVE_TM_ZONE) *tzp = -(tm->tm_gmtoff); /* tm_gmtoff is Sun/DEC-ism */ #elif defined(HAVE_INT_TIMEZONE) - #ifdef __CYGWIN__ - *tzp = ((tm->tm_isdst > 0) ? (_timezone - 3600) : _timez -one); - #else - *tzp = ((tm->tm_isdst > 0) ? (timezone - 3600) : timezon -e); - #endif +#ifdef __CYGWIN__ + *tzp = ((tm->tm_isdst > 0) ? (_timezone - 3600) : _timezone); +#else + *tzp = ((tm->tm_isdst > 0) ? (timezone - 3600) : timezone); +#endif #else #error USE_POSIX_TIME is defined but neither HAVE_TM_ZONE or HAVE_INT_TIMEZONE are defined #endif -#else /* !USE_POSIX_TIME */ +#else /* !USE_POSIX_TIME */ *tzp = CTimeZone; #endif } |