1
0
mirror of https://github.com/php/php-src.git synced 2026-04-19 22:11:12 +02:00

- Fixes crash problem on FreeBSD when losing precision. Need to still see

- how to detect we're on FreeBSD
This commit is contained in:
Andi Gutmans
2000-06-11 17:45:19 +00:00
parent cbc8b0f4b4
commit 5928970d22

View File

@@ -304,6 +304,10 @@ static void alloc_globals_ctor(zend_alloc_globals *alloc_globals)
#endif
#if 0
/* FreeBSD floating point precision fix */
#include <floatingpoint.h>
#endif
int zend_startup(zend_utility_functions *utility_functions, char **extensions, int start_builtin_functions)
{
@@ -316,6 +320,11 @@ int zend_startup(zend_utility_functions *utility_functions, char **extensions, i
start_memory_manager(ALS_C);
#endif
#if 0
/* FreeBSD floating point precision fix */
fpsetmask(FP_X_IMP);
#endif
/* Set up utility functions and values */
zend_error_cb = utility_functions->error_function;
zend_printf = utility_functions->printf_function;