felipe                                   Fri, 06 Aug 2010 22:21:13 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=301948

Log:
- Fix build

Changed paths:
    U   php/php-src/branches/PHP_5_3/ext/standard/math.c
    U   php/php-src/trunk/ext/standard/math.c

Modified: php/php-src/branches/PHP_5_3/ext/standard/math.c
===================================================================
--- php/php-src/branches/PHP_5_3/ext/standard/math.c    2010-08-06 22:19:47 UTC 
(rev 301947)
+++ php/php-src/branches/PHP_5_3/ext/standard/math.c    2010-08-06 22:21:13 UTC 
(rev 301948)
@@ -691,7 +691,7 @@
                RETURN_FALSE;
        }
        if (base == 1) {
-               RETURN_DOUBLE(NAN);
+               RETURN_DOUBLE(php_get_nan());
        } else {
                RETURN_DOUBLE(log(num) / log(base));
        }

Modified: php/php-src/trunk/ext/standard/math.c
===================================================================
--- php/php-src/trunk/ext/standard/math.c       2010-08-06 22:19:47 UTC (rev 
301947)
+++ php/php-src/trunk/ext/standard/math.c       2010-08-06 22:21:13 UTC (rev 
301948)
@@ -691,7 +691,7 @@
                RETURN_FALSE;
        }
        if (base == 1) {
-               RETURN_DOUBLE(NAN);
+               RETURN_DOUBLE(php_get_nan());
        } else {
                RETURN_DOUBLE(log(num) / log(base));
        }

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to