com gtk/php-gtk: - Workaround for the 'lookup' issue. - The only place 'lookup' was used by the end of the PHP 4.3 series was in ext/expat. - It isn't used anywhere in PHP 5 or its core extensions.: main/php_gtk.h
[email protected] (David Soria Parra)
| Newsgroups | php.gtk.cvs |
|---|---|
| Message-ID | <[email protected]> |
Commit: 940689eb95d490e83520b2ce081a1869fed17066 Author: Steph Fox <[email protected]> Sat, 17 Jun 2006 16:59:05 +0000 Parents: e02fdbc75c744d5337f5a7548ccfdc15255b8ac2 Branches: master Link: http://git.php.net/?p=gtk/php-gtk.git;a=commitdiff;h=940689eb95d490e83520b2ce081a1869fed17066 Log: - Workaround for the 'lookup' issue. - The only place 'lookup' was used by the end of the PHP 4.3 series was in ext/expat. - It isn't used anywhere in PHP 5 or its core extensions. Changed paths: M main/php_gtk.h Diff: 940689eb95d490e83520b2ce081a1869fed17066 diff --git a/main/php_gtk.h b/main/php_gtk.h index f481097..99a78e9 100644 --- a/main/php_gtk.h +++ b/main/php_gtk.h @@ -31,6 +31,11 @@ #include "config.h" #endif +/* workaround for expat-related declaration in PHP compat file */ +#ifdef lookup +#undef lookup +#endif + #if HAVE_PHP_GTK #include "zend_objects_API.h"