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:
@@ -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.
|
||||
|
Reference in New Issue
Block a user