aboutsummaryrefslogtreecommitdiffstats
path: root/databases/mysql41-server/files/patch-as
blob: 4db26dbdd7c4a1c9592888192a306acd041fcebc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- 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