mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-21 08:29:39 +08:00
Cast _timezone to int from time_t for Cygwin.
This commit is contained in:
parent
90e1ac9292
commit
33f395eada
@ -220,7 +220,11 @@ do { \
|
||||
#if !defined(__CYGWIN__) && !defined(WIN32)
|
||||
#define TIMEZONE_GLOBAL timezone
|
||||
#else
|
||||
#if defined(WIN32)
|
||||
#define TIMEZONE_GLOBAL _timezone
|
||||
#else
|
||||
#define TIMEZONE_GLOBAL ((int)_timezone) /* time_t on Cywgin */
|
||||
#endif
|
||||
#define tzname _tzname /* should be in time.h? */
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user