cvs: Zend(PHP_4_3) / zend.c
| From: | Jon Parise | Date: | Sat, 10 Jul 2004 19:41:37 +0000 |
| Subject: | cvs: Zend(PHP_4_3) / zend.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-2727@lists.php.net to get a copy of this message | ||
jon Sat Jul 10 15:41:37 2004 EDT
Modified files: (Branch: PHP_4_3)
/Zend zend.c
Log:
MFH 1.286:
DragonFly BSD is derived from FreeBSD and requires the same floating point
precision fix.
http://cvs.php.net/diff.php/Zend/zend.c?r1=1.162.2.19&r2=1.162.2.20&ty=u
Index: Zend/zend.c
diff -u Zend/zend.c:1.162.2.19 Zend/zend.c:1.162.2.20
--- Zend/zend.c:1.162.2.19 Tue Jun 1 12:53:54 2004
+++ Zend/zend.c Sat Jul 10 15:41:37 2004
@@ -389,8 +389,8 @@
}
-#ifdef __FreeBSD__
-/* FreeBSD floating point precision fix */
+#if defined(__FreeBSD__) || defined(__DragonFly__)
+/* FreeBSD and DragonFly floating point precision fix */
#include <floatingpoint.h>
#endif
@@ -430,8 +430,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