From: Sam Ruby Date: Wed, 1 Dec 1999 14:24:45 +0000 (+0000) Subject: libzend/zend_compile.h's #define YYSTYPE causes parsedate to barf on Windows X-Git-Tag: PRE_RETURN_REF_PATCH~148 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=933c3121c557abf694fbb35c6f5ae8ec8a53c6b3;p=php libzend/zend_compile.h's #define YYSTYPE causes parsedate to barf on Windows --- diff --git a/ext/standard/parsedate.y b/ext/standard/parsedate.y index a7f61648f4..ff10240c76 100644 --- a/ext/standard/parsedate.y +++ b/ext/standard/parsedate.y @@ -51,7 +51,8 @@ #if WIN32||WINNT # include -# define _PHP_H +# include "php.h" +# undef YYSTYPE # include "php_reentrancy.h" #else # if !defined(HAVE_TM_ZONE) && !defined(_TIMEZONE)