1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-02 04:21:28 +03:00

Use _timezone global on Cygwin instead of timezone.

This commit is contained in:
Bruce Momjian
2004-09-08 19:43:12 +00:00
parent cef30c650b
commit e97c817092
5 changed files with 21 additions and 17 deletions

View File

@@ -216,14 +216,6 @@ do { \
} while(0)
#endif
/* Global variable holding time zone information. */
#if !defined(__CYGWIN__) && !defined(WIN32)
#define TIMEZONE_GLOBAL timezone
#else
#define TIMEZONE_GLOBAL _timezone
#define tzname _tzname /* should be in time.h? */
#endif
/*
* Date/time validation
* Include check for leap year.