cvs: ZendEngine2 / zend.c
| From: | Jon Parise | Date: | Sat, 10 Jul 2004 19:29:02 +0000 |
| Subject: | cvs: ZendEngine2 / zend.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-2726@lists.php.net to get a copy of this message | ||
jon Sat Jul 10 15:29:02 2004 EDT
Modified files:
/ZendEngine2 zend.c
Log:
DragonFly BSD is derived from FreeBSD and requires the same floating point
precision fix.
http://cvs.php.net/diff.php/ZendEngine2/zend.c?r1=1.285&r2=1.286&ty=u
Index: ZendEngine2/zend.c
diff -u ZendEngine2/zend.c:1.285 ZendEngine2/zend.c:1.286
--- ZendEngine2/zend.c:1.285 Tue Jun 1 07:45:46 2004
+++ ZendEngine2/zend.c Sat Jul 10 15:29:01 2004
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend.c,v 1.285 2004/06/01 11:45:46 andi Exp $ */
+/* $Id: zend.c,v 1.286 2004/07/10 19:29:01 jon Exp $ */
#include "zend.h"
#include "zend_extensions.h"
@@ -512,8 +512,8 @@
#endif
-#ifdef __FreeBSD__
-/* FreeBSD floating point precision fix */
+#if defined(__FreeBSD__) || defined(__DragonFly__)
+/* FreeBSD and DragonFly floating point precision fix */
#include <floatingpoint.h>
#endif
@@ -554,8 +554,8 @@
alloc_globals_ctor(&alloc_globals TSRMLS_CC);
#endif
-#ifdef __FreeBSD__
- /* FreeBSD floating point precision fix */
+#if defined(__FreeBSD__) || defined(__DragonFly__)
+ /* FreeBSD and DragonFly floating point precision fix */
fpsetmask(0);
#endif