diff options
| author | foobar <sniper@php.net> | 2003-12-09 23:59:33 +0000 |
|---|---|---|
| committer | foobar <sniper@php.net> | 2003-12-09 23:59:33 +0000 |
| commit | a08c1e4dce535ba70a5e3d954fce1a3b05411f4b (patch) | |
| tree | 0a8fea3582a94b82772086262af675d0bdddb60d /Zend/zend_operators.c | |
| parent | 398ab9756a6c6c64f855ed578dd86a9d31168f6e (diff) | |
| download | php-git-a08c1e4dce535ba70a5e3d954fce1a3b05411f4b.tar.gz | |
- Brought ext/bcmath to the new millennium
# consistency..
Diffstat (limited to 'Zend/zend_operators.c')
| -rw-r--r-- | Zend/zend_operators.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Zend/zend_operators.c b/Zend/zend_operators.c index 8a6f78e645..b58eb7eb29 100644 --- a/Zend/zend_operators.c +++ b/Zend/zend_operators.c @@ -29,7 +29,7 @@ #include "zend_fast_cache.h" #include "zend_API.h" -#if 0&&WITH_BCMATH +#if 0&&HAVE_BCMATH #include "ext/bcmath/number.h" #endif @@ -117,7 +117,7 @@ ZEND_API void convert_scalar_to_number(zval *op TSRMLS_DC) case IS_DOUBLE: case IS_LONG: break; -#if 0 && WITH_BCMATH +#if 0 && HAVE_BCMATH case FLAG_IS_BC: op->type = IS_DOUBLE; /* may have lost significant digits */ break; @@ -1752,7 +1752,7 @@ ZEND_API void zendi_smart_strcmp(zval *result, zval *s1, zval *s2) if ((ret1=is_numeric_string(s1->value.str.val, s1->value.str.len, &lval1, &dval1, 0)) && (ret2=is_numeric_string(s2->value.str.val, s2->value.str.len, &lval2, &dval2, 0))) { -#if 0&&WITH_BCMATH +#if 0&&HAVE_BCMATH if ((ret1==FLAG_IS_BC) || (ret2==FLAG_IS_BC)) { bc_num first, second; |
