From ae9de3ed3728f20f65dc203deeab15eafa382930 Mon Sep 17 00:00:00 2001 From: Sebastian Bergmann Date: Mon, 10 Dec 2001 17:14:42 +0000 Subject: Enable ext/overload by default on Win32, too. --- main/config.w32.h | 3 +++ main/internal_functions_win32.c | 6 ++++++ 2 files changed, 9 insertions(+) (limited to 'main') 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, -- cgit v1.2.1