summaryrefslogtreecommitdiff
path: root/ext/standard/parsedate.y
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/parsedate.y')
-rw-r--r--ext/standard/parsedate.y7
1 files changed, 1 insertions, 6 deletions
diff --git a/ext/standard/parsedate.y b/ext/standard/parsedate.y
index 393207da09..28aabf5e4f 100644
--- a/ext/standard/parsedate.y
+++ b/ext/standard/parsedate.y
@@ -46,15 +46,10 @@
#include <alloca.h>
#endif
-#if WIN32||WINNT
-# include <time.h>
-#else
-# if !defined(HAVE_TM_ZONE) && !defined(_TIMEZONE)
+#if !defined(HAVE_TM_ZONE) && !defined(_TIMEZONE) && !defined(HAVE_DECLARED_TIMEZONE)
extern time_t timezone;
-# endif
#endif
-
#define yylhs date_yylhs
#define yylen date_yylen
#define yydefred date_yydefred