]> granicus.if.org Git - php/commitdiff
Fix Win32 compilation
authorAndi Gutmans <andi@php.net>
Mon, 19 Jul 1999 16:08:43 +0000 (16:08 +0000)
committerAndi Gutmans <andi@php.net>
Mon, 19 Jul 1999 16:08:43 +0000 (16:08 +0000)
main/config.w32.h
main/internal_functions_win32.c

index d4aee434808e402ebccf625d1f6f71be62758354..5cba103befaa0571aa2e78f4cb5a2b9d44e24b92 100644 (file)
 #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
    ---------------------------------------------------------------*/
index 08291fb5fb6e33ca41b6a47eb56f3a84d19caaa5..9fcbecd98d1f35e2c3595b9e24bc57069af8ae4c 100644 (file)
@@ -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,