summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2003-12-09 23:59:33 +0000
committerfoobar <sniper@php.net>2003-12-09 23:59:33 +0000
commita08c1e4dce535ba70a5e3d954fce1a3b05411f4b (patch)
tree0a8fea3582a94b82772086262af675d0bdddb60d /main
parent398ab9756a6c6c64f855ed578dd86a9d31168f6e (diff)
downloadphp-git-a08c1e4dce535ba70a5e3d954fce1a3b05411f4b.tar.gz
- Brought ext/bcmath to the new millennium
# consistency..
Diffstat (limited to 'main')
-rw-r--r--main/config.nw.h2
-rw-r--r--main/config.w32.h2
-rw-r--r--main/internal_functions_nw.c2
-rw-r--r--main/internal_functions_win32.c4
4 files changed, 5 insertions, 5 deletions
diff --git a/main/config.nw.h b/main/config.nw.h
index c927609082..924d4572f6 100644
--- a/main/config.nw.h
+++ b/main/config.nw.h
@@ -33,7 +33,7 @@
#define HAVE_GETPROTOBYNUMBER 1
/* set to enable bcmath */
-#define WITH_BCMATH 1
+#define HAVE_BCMATH 1
/* set to enable mysql */
#define HAVE_MYSQL 1
diff --git a/main/config.w32.h b/main/config.w32.h
index 5ca103213c..fcaa7218aa 100644
--- a/main/config.w32.h
+++ b/main/config.w32.h
@@ -20,7 +20,7 @@
#define PHP_SYSCONFDIR "c:\\php5"
/* Enable / Disable BCMATH extension (default: enabled) */
-#define WITH_BCMATH 1
+#define HAVE_BCMATH 1
/* Enable / Disable crypt() function (default: enabled) */
#define HAVE_CRYPT 1
diff --git a/main/internal_functions_nw.c b/main/internal_functions_nw.c
index de14dba765..9cc324a4f6 100644
--- a/main/internal_functions_nw.c
+++ b/main/internal_functions_nw.c
@@ -65,7 +65,7 @@
*/
zend_module_entry *php_builtin_extensions[] = {
phpext_standard_ptr,
-#if WITH_BCMATH
+#if HAVE_BCMATH
phpext_bcmath_ptr,
#endif
phpext_calendar_ptr,
diff --git a/main/internal_functions_win32.c b/main/internal_functions_win32.c
index 39e9efc179..8799ff9e6f 100644
--- a/main/internal_functions_win32.c
+++ b/main/internal_functions_win32.c
@@ -49,7 +49,7 @@
#include "ext/standard/php_lcg.h"
#include "ext/standard/php_array.h"
#include "ext/standard/php_assert.h"
-#if WITH_BCMATH
+#if HAVE_BCMATH
#include "ext/bcmath/php_bcmath.h"
#endif
#if HAVE_CALENDAR
@@ -105,7 +105,7 @@
*/
zend_module_entry *php_builtin_extensions[] = {
phpext_standard_ptr
-#if WITH_BCMATH
+#if HAVE_BCMATH
,phpext_bcmath_ptr
#endif
#if HAVE_CALENDAR