]> granicus.if.org Git - php/commitdiff
make it build under win32
authorWez Furlong <wez@php.net>
Sat, 6 Dec 2003 00:09:55 +0000 (00:09 +0000)
committerWez Furlong <wez@php.net>
Sat, 6 Dec 2003 00:09:55 +0000 (00:09 +0000)
ext/spl/config.w32 [new file with mode: 0644]
ext/spl/php_spl.h

diff --git a/ext/spl/config.w32 b/ext/spl/config.w32
new file mode 100644 (file)
index 0000000..2880b91
--- /dev/null
@@ -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);
+}
index b2fd7709cb4dfdb53b1bfb46c8964c06b383c457..8290654251418d07cc23e6a3fe6f292dfe49d7de 100755 (executable)
@@ -44,6 +44,7 @@ PHP_MINFO_FUNCTION(spl);
 
 
 ZEND_BEGIN_MODULE_GLOBALS(spl)
+       int dummy;
 ZEND_END_MODULE_GLOBALS(spl)
 
 #ifdef ZTS