]> granicus.if.org Git - php/commitdiff
Enable ext/overload by default on Win32, too.
authorSebastian Bergmann <sebastian@php.net>
Mon, 10 Dec 2001 17:14:42 +0000 (17:14 +0000)
committerSebastian Bergmann <sebastian@php.net>
Mon, 10 Dec 2001 17:14:42 +0000 (17:14 +0000)
main/config.w32.h
main/internal_functions_win32.c
win32/php4dll.dsp
win32/php4dllts.dsp

index 67ddd76e4661edc29b051905420a7145051ea64f..c39607e788413b2c7e380df24100bed402b69b83 100644 (file)
@@ -39,6 +39,9 @@
 /* should be added to runtime config*/
 #define PHP_URL_FOPEN 1
 
+/* set to enable overload extension */
+#define HAVE_OVERLOAD 1
+
 #define STDIN_FILENO 0
 #define STDOUT_FILENO 1
 #define STDERR_FILENO 2
index 4876419466e8bef5d7769054cfb0e0ad5b10f8f8..c5c136ffcbdc7a50e34951848e17a09e67e40e4f 100644 (file)
@@ -60,6 +60,9 @@
 #include "ext/wddx/php_wddx.h"
 #include "ext/mysql/php_mysql.h"
 #include "ext/mbstring/mbstring.h"
+#if HAVE_OVERLOAD
+#include "ext/overload/php_overload.h"
+#endif
 /* }}} */
 
 /* {{{ php_builtin_extensions[]
@@ -77,6 +80,9 @@ zend_module_entry *php_builtin_extensions[] = {
 #endif
        phpext_mysql_ptr,
        phpext_odbc_ptr,
+#if HAVE_OVERLOAD
+  phpext_overload_ptr,
+#endif
        phpext_pcre_ptr,
        phpext_session_ptr,
        phpext_xml_ptr,
index 2f6b0cead0c6d21f37ec64bb3fa957796ad0bd0c..3f9ff611b3a63ba0aabe116c401e1e52cc066534 100644 (file)
@@ -826,6 +826,10 @@ SOURCE=..\ext\pcre\pcrelib\pcre.h
 # PROP Default_Filter ".c"\r
 # Begin Source File\r
 \r
+SOURCE=..\ext\overload\overload.c\r
+# End Source File\r
+# Begin Source File\r
+\r
 SOURCE=..\ext\wddx\wddx.c\r
 # ADD CPP /I "..\ext\xml\expat\xmltok" /I "..\ext\xml\expat\xmlparse"\r
 # End Source File\r
index 24d4807a2a2ff435b441c529ecedfaa40f82a330..c3831d320ffa3bc18a0b2cf3e4d0ba7fe9b55ce1 100644 (file)
@@ -410,6 +410,10 @@ SOURCE=..\regex\regfree.c
 # PROP Default_Filter ".c"\r
 # Begin Source File\r
 \r
+SOURCE=..\ext\overload\overload.c\r
+# End Source File\r
+# Begin Source File\r
+\r
 SOURCE=..\ext\wddx\wddx.c\r
 \r
 !IF  "$(CFG)" == "php4dllts - Win32 Debug_TS"\r