summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorSebastian Bergmann <sebastian@php.net>2001-12-10 17:14:42 +0000
committerSebastian Bergmann <sebastian@php.net>2001-12-10 17:14:42 +0000
commitae9de3ed3728f20f65dc203deeab15eafa382930 (patch)
treed32d0b3151d091f0d8b96e51db8d21a4047faa19 /main
parent79f5dcf7d6c985d86655faf235543246389cc123 (diff)
downloadphp-git-ae9de3ed3728f20f65dc203deeab15eafa382930.tar.gz
Enable ext/overload by default on Win32, too.
Diffstat (limited to 'main')
-rw-r--r--main/config.w32.h3
-rw-r--r--main/internal_functions_win32.c6
2 files changed, 9 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,