From: Wez Furlong Date: Sat, 6 Dec 2003 00:09:55 +0000 (+0000) Subject: make it build under win32 X-Git-Tag: php-5.0.0b3RC1~269 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=62d3cccfc9a593c25b967667be0a5efe6cc2768f;p=php make it build under win32 --- diff --git a/ext/spl/config.w32 b/ext/spl/config.w32 new file mode 100644 index 0000000000..2880b91cd5 --- /dev/null +++ b/ext/spl/config.w32 @@ -0,0 +1,9 @@ +// $Id$ +// vim:ft=javascript + +ARG_ENABLE("spl", "SPL (Standard PHP Library) support", "yes"); + +if (PHP_SPL != "no") { + EXTENSION("spl", "php_spl.c spl_functions.c spl_engine.c spl_iterators.c spl_array.c spl_directory.c"); + AC_DEFINE('HAVE_SPL', 1); +} diff --git a/ext/spl/php_spl.h b/ext/spl/php_spl.h index b2fd7709cb..8290654251 100755 --- a/ext/spl/php_spl.h +++ b/ext/spl/php_spl.h @@ -44,6 +44,7 @@ PHP_MINFO_FUNCTION(spl); ZEND_BEGIN_MODULE_GLOBALS(spl) + int dummy; ZEND_END_MODULE_GLOBALS(spl) #ifdef ZTS