From: Sebastian Bergmann Date: Mon, 10 Dec 2001 17:14:42 +0000 (+0000) Subject: Enable ext/overload by default on Win32, too. X-Git-Tag: ChangeLog~47 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ae9de3ed3728f20f65dc203deeab15eafa382930;p=php Enable ext/overload by default on Win32, too. --- diff --git a/main/config.w32.h b/main/config.w32.h index 67ddd76e46..c39607e788 100644 --- a/main/config.w32.h +++ b/main/config.w32.h @@ -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 diff --git a/main/internal_functions_win32.c b/main/internal_functions_win32.c index 4876419466..c5c136ffcb 100644 --- a/main/internal_functions_win32.c +++ b/main/internal_functions_win32.c @@ -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, diff --git a/win32/php4dll.dsp b/win32/php4dll.dsp index 2f6b0cead0..3f9ff611b3 100644 --- a/win32/php4dll.dsp +++ b/win32/php4dll.dsp @@ -826,6 +826,10 @@ SOURCE=..\ext\pcre\pcrelib\pcre.h # PROP Default_Filter ".c" # Begin Source File +SOURCE=..\ext\overload\overload.c +# End Source File +# Begin Source File + SOURCE=..\ext\wddx\wddx.c # ADD CPP /I "..\ext\xml\expat\xmltok" /I "..\ext\xml\expat\xmlparse" # End Source File diff --git a/win32/php4dllts.dsp b/win32/php4dllts.dsp index 24d4807a2a..c3831d320f 100644 --- a/win32/php4dllts.dsp +++ b/win32/php4dllts.dsp @@ -410,6 +410,10 @@ SOURCE=..\regex\regfree.c # PROP Default_Filter ".c" # Begin Source File +SOURCE=..\ext\overload\overload.c +# End Source File +# Begin Source File + SOURCE=..\ext\wddx\wddx.c !IF "$(CFG)" == "php4dllts - Win32 Debug_TS"