From: Andi Gutmans Date: Sun, 11 Jun 2000 18:07:14 +0000 (+0000) Subject: - Solve floating point precision crash on FreeBSD. X-Git-Tag: php-4.0.1RC~270 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1f5ee72e2dca2834653060896ef40883c02b9af1;p=php - Solve floating point precision crash on FreeBSD. --- diff --git a/Zend/zend.c b/Zend/zend.c index ac64615037..a319473104 100644 --- a/Zend/zend.c +++ b/Zend/zend.c @@ -304,7 +304,7 @@ static void alloc_globals_ctor(zend_alloc_globals *alloc_globals) #endif -#if 0 +#ifdef __FreeBSD__ /* FreeBSD floating point precision fix */ #include #endif @@ -320,7 +320,7 @@ int zend_startup(zend_utility_functions *utility_functions, char **extensions, i start_memory_manager(ALS_C); #endif -#if 0 +#ifdef __FreeBSD__ /* FreeBSD floating point precision fix */ fpsetmask(FP_X_IMP); #endif