From: Felipe Pena Date: Fri, 6 Aug 2010 22:21:13 +0000 (+0000) Subject: - Fix build X-Git-Tag: php-5.3.4RC1~388 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7e8ec822a5c53f5d677e0f44e103170d8523b3d3;p=php - Fix build --- diff --git a/ext/standard/math.c b/ext/standard/math.c index 9ee15dbc7b..accddaa0bb 100644 --- a/ext/standard/math.c +++ b/ext/standard/math.c @@ -691,7 +691,7 @@ PHP_FUNCTION(log) RETURN_FALSE; } if (base == 1) { - RETURN_DOUBLE(NAN); + RETURN_DOUBLE(php_get_nan()); } else { RETURN_DOUBLE(log(num) / log(base)); }