1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/databases/mysql54-server/files/patch-as

15 lines
426 B
Plaintext

--- 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