1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/databases/mysql41-server/files/patch-as

15 lines
426 B
Plaintext
Raw Normal View History

--- sql/mysqld.cc.orig Fri Feb 18 23:06:34 2000
+++ sql/mysqld.cc Fri Feb 18 23:07:46 2000
@@ -63,7 +63,11 @@
inline void reset_floating_point_exceptions()
{
/* Don't fall for overflow, underflow,divide-by-zero or loss of precision */
+#if defined(__i386__)
fpsetmask(~(FP_X_INV | FP_X_DNML | FP_X_OFL | FP_X_UFL |
+#else
+ fpsetmask(~(FP_X_INV | FP_X_OFL | FP_X_UFL |
+#endif
FP_X_DZ | FP_X_IMP));
}
#else