mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
56977a1792
Submitted by: Dirk-Willem van Gulik <dirkx@webweaving.org>
17 lines
585 B
Plaintext
17 lines
585 B
Plaintext
--- sql/mysqld.cc.orig Sun Feb 13 02:40:18 2000
|
|
+++ sql/mysqld.cc Mon Feb 21 21:24:51 2000
|
|
@@ -63,8 +63,11 @@
|
|
inline void reset_floating_point_exceptions()
|
|
{
|
|
/* Don't fall for overflow, underflow,divide-by-zero or loss of precision */
|
|
- fpsetmask(~(FP_X_INV | FP_X_DNML | FP_X_OFL | FP_X_UFL |
|
|
- FP_X_DZ | FP_X_IMP));
|
|
+#if defined(__i386__)
|
|
+ fpsetmask(~(FP_X_INV | FP_X_DNML | FP_X_OFL | FP_X_UFL | FP_X_DZ | FP_X_IMP));
|
|
+#else
|
|
+ fpsetmask(~(FP_X_INV | FP_X_OFL | FP_X_UFL | FP_X_DZ | FP_X_IMP));
|
|
+#endif
|
|
}
|
|
#else
|
|
#define reset_floating_point_exceptions()
|