diff options
author | dirk <dirk@FreeBSD.org> | 2000-02-21 20:48:28 +0000 |
---|---|---|
committer | dirk <dirk@FreeBSD.org> | 2000-02-21 20:48:28 +0000 |
commit | 1fd211dda69b0057d186430b775665c93b908635 (patch) | |
tree | 91702eddf4fb9da8985885c435b063368c6da315 /databases/mysql54-server | |
parent | 500ff202c7119c02f68abfd0304da5417d288185 (diff) | |
download | FreeBSD-ports-1fd211dda69b0057d186430b775665c93b908635.zip FreeBSD-ports-1fd211dda69b0057d186430b775665c93b908635.tar.gz |
Fix build error!
Submitted by: Dirk-Willem van Gulik <dirkx@webweaving.org>
Diffstat (limited to 'databases/mysql54-server')
-rw-r--r-- | databases/mysql54-server/files/patch-as | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/databases/mysql54-server/files/patch-as b/databases/mysql54-server/files/patch-as index 4db26db..903bc99 100644 --- a/databases/mysql54-server/files/patch-as +++ b/databases/mysql54-server/files/patch-as @@ -1,14 +1,16 @@ ---- 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 @@ +--- 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 | ++ 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 | ++ fpsetmask(~(FP_X_INV | FP_X_OFL | FP_X_UFL | FP_X_DZ | FP_X_IMP)); +#endif - FP_X_DZ | FP_X_IMP)); } #else + #define reset_floating_point_exceptions() |