diff options
author | Sebastian Bergmann <sebastian@php.net> | 2001-12-10 17:14:42 +0000 |
---|---|---|
committer | Sebastian Bergmann <sebastian@php.net> | 2001-12-10 17:14:42 +0000 |
commit | ae9de3ed3728f20f65dc203deeab15eafa382930 (patch) | |
tree | d32d0b3151d091f0d8b96e51db8d21a4047faa19 | |
parent | 79f5dcf7d6c985d86655faf235543246389cc123 (diff) | |
download | php-git-ae9de3ed3728f20f65dc203deeab15eafa382930.tar.gz |
Enable ext/overload by default on Win32, too.
-rw-r--r-- | main/config.w32.h | 3 | ||||
-rw-r--r-- | main/internal_functions_win32.c | 6 | ||||
-rw-r--r-- | win32/php4dll.dsp | 4 | ||||
-rw-r--r-- | win32/php4dllts.dsp | 4 |
4 files changed, 17 insertions, 0 deletions
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"
|