]> granicus.if.org Git - php/commitdiff
libzend/zend_compile.h's #define YYSTYPE causes parsedate to barf on Windows
authorSam Ruby <rubys@php.net>
Wed, 1 Dec 1999 14:24:45 +0000 (14:24 +0000)
committerSam Ruby <rubys@php.net>
Wed, 1 Dec 1999 14:24:45 +0000 (14:24 +0000)
ext/standard/parsedate.y

index a7f61648f45b78b91529c82fbebaf1a40b36ced8..ff10240c760dafe2f0b95cb865369a81e46519a1 100644 (file)
@@ -51,7 +51,8 @@
 
 #if WIN32||WINNT
 #      include <time.h>
-#      define _PHP_H
+#      include "php.h"
+#      undef YYSTYPE
 #      include "php_reentrancy.h"
 #else
 #      if !defined(HAVE_TM_ZONE) && !defined(_TIMEZONE)