diff options
author | Edin Kadribasic <edink@php.net> | 2003-06-27 14:32:59 +0000 |
---|---|---|
committer | Edin Kadribasic <edink@php.net> | 2003-06-27 14:32:59 +0000 |
commit | 94b7050bc0d4b4354682868d4d89115f97c059c4 (patch) | |
tree | 3734cb4f945703a282d5f1f4f7acacd4790d0f94 /main | |
parent | 7730c1d994c8773e995bf73cdba3ff964162752f (diff) | |
download | php-git-94b7050bc0d4b4354682868d4d89115f97c059c4.tar.gz |
Enabled sqlite by default on Windows.
# Also added iconv.lib to the build since it is a dependency of
# the precompiled libxml. This will be removed later.
Diffstat (limited to 'main')
-rw-r--r-- | main/config.w32.h | 3 | ||||
-rw-r--r-- | main/internal_functions_win32.c | 7 |
2 files changed, 9 insertions, 1 deletions
diff --git a/main/config.w32.h b/main/config.w32.h index 15996c9a66..3fd2ae13bd 100644 --- a/main/config.w32.h +++ b/main/config.w32.h @@ -72,6 +72,9 @@ /* Enable / Disable ZLIB extension (default: enabled) */ #define HAVE_ZLIB 1 +/* Enable / Disable SQLite extension (default: enabled) */ +#define HAVE_SQLITE 1 + /* PHP Runtime Configuration */ #define FORCE_CGI_REDIRECT 1 #define PHP_URL_FOPEN 1 diff --git a/main/internal_functions_win32.c b/main/internal_functions_win32.c index 77242351ca..8ca1e407e6 100644 --- a/main/internal_functions_win32.c +++ b/main/internal_functions_win32.c @@ -94,7 +94,9 @@ #if HAVE_XML && HAVE_WDDX #include "ext/wddx/php_wddx.h" #endif - +#ifdef HAVE_SQLITE +#include "ext/sqlite/php_sqlite.h" +#endif /* }}} */ /* {{{ php_builtin_extensions[] @@ -145,6 +147,9 @@ zend_module_entry *php_builtin_extensions[] = { #if HAVE_XML && HAVE_WDDX ,phpext_wddx_ptr #endif +#if HAVE_SQLITE + ,phpext_sqlite_ptr +#endif }; /* }}} */ |