diff options
author | Steve Price <steve@FreeBSD.org> | 2000-02-20 20:53:58 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 2000-02-20 20:53:58 +0000 |
commit | 74d5f5aa902fbc324ad84ddfe71040cae16d3699 (patch) | |
tree | 27f6c4760a92f05b4f98c97648ae040e1419a9d2 /databases/percona55-server/files/patch-as | |
parent | 6d4a92f25089b83305bebc2e98bc11a0ede189eb (diff) |
With a minor little tweak this now builds on the Alpha.
Notes
Notes:
svn path=/head/; revision=26056
Diffstat (limited to 'databases/percona55-server/files/patch-as')
-rw-r--r-- | databases/percona55-server/files/patch-as | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/databases/percona55-server/files/patch-as b/databases/percona55-server/files/patch-as new file mode 100644 index 000000000000..4db26dbdd7c4 --- /dev/null +++ b/databases/percona55-server/files/patch-as @@ -0,0 +1,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 |