cvs: /php4/ext/standard parsedate.y
| From: | Sam Ruby | Date: | Wed, 01 Dec 1999 14:25:18 +0000 |
| Subject: | cvs: /php4/ext/standard parsedate.y | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-7170@lists.php.net to get a copy of this message | ||
rubys Wed Dec 1 09:25:18 1999 EDT
Modified files:
/php4/ext/standard parsedate.y
Log:
libzend/zend_compile.h's #define YYSTYPE causes parsedate to barf on Windows
Index: php4/ext/standard/parsedate.y
diff -u php4/ext/standard/parsedate.y:1.6 php4/ext/standard/parsedate.y:1.7
--- php4/ext/standard/parsedate.y:1.6 Mon Nov 29 09:04:16 1999
+++ php4/ext/standard/parsedate.y Wed Dec 1 09:24:45 1999
@@ -1,5 +1,5 @@
%{
-/* $Revision: 1.6 $
+/* $Revision: 1.7 $
**
** Originally written by Steven M. Bellovin <smb@research.att.com> while
** at the University of North Carolina at Chapel Hill. Later tweaked by
@@ -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)