From bd9b951191d7643b14336d91ba31cd9b7beb7f3a Mon Sep 17 00:00:00 2001
From: Bruce Momjian <bruce@momjian.us>
Date: Wed, 1 Sep 2004 18:59:35 +0000
Subject: [PATCH] Back out Cygwin timezone change until we have a more global
 solution.

---
 src/interfaces/ecpg/pgtypeslib/dt.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/interfaces/ecpg/pgtypeslib/dt.h b/src/interfaces/ecpg/pgtypeslib/dt.h
index a97a414c345..fa74a23f4ba 100644
--- a/src/interfaces/ecpg/pgtypeslib/dt.h
+++ b/src/interfaces/ecpg/pgtypeslib/dt.h
@@ -220,11 +220,7 @@ 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
 
-- 
GitLab