diff options
author | Andi Gutmans <andi@php.net> | 1999-07-19 16:08:43 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 1999-07-19 16:08:43 +0000 |
commit | a064237fc041a541ecd86d88a28e4c4debefec2c (patch) | |
tree | e205048a7517ff5e11b5435f3225ffdcde840320 | |
parent | d1b1e3513f5a0f9892f5abc266965e31e081b1bd (diff) | |
download | php-git-a064237fc041a541ecd86d88a28e4c4debefec2c.tar.gz |
Fix Win32 compilation
-rw-r--r-- | main/config.w32.h | 6 | ||||
-rw-r--r-- | main/internal_functions_win32.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/main/config.w32.h b/main/config.w32.h index d4aee43480..5cba103bef 100644 --- a/main/config.w32.h +++ b/main/config.w32.h @@ -10,10 +10,14 @@ #define HAVE_BINDLIB 1 /* set to enable bcmath */ -#define WITH_BCMATH 1 +#define WITH_BCMATH 0 /* should be added to runtime config*/ #define PHP3_URL_FOPEN 1 +#define STDIN_FILENO 0 +#define STDOUT_FILENO 1 +#define STDERR_FILENO 2 + /* ---------------------------------------------------------------- The following are defaults for run-time configuration ---------------------------------------------------------------*/ diff --git a/main/internal_functions_win32.c b/main/internal_functions_win32.c index 08291fb5fb..9fcbecd98d 100644 --- a/main/internal_functions_win32.c +++ b/main/internal_functions_win32.c @@ -68,7 +68,9 @@ zend_module_entry *php3_builtin_modules[] = { phpext_filestat_ptr, phpext_mail_ptr, phpext_syslog_ptr, +#if WITH_BCMATH phpext_bcmath_ptr, +#endif phpext_standard_ptr, COM_module_ptr, phpext_regex_ptr, |