summarylogtreecommitdiffstats
path: root/isinf.patch
diff options
context:
space:
mode:
authorMinerva.W2016-04-22 22:19:00 -0400
committerMinerva.W2016-04-22 22:19:00 -0400
commitbc909e8f78b08963c30016e323c21dadd5d04ef3 (patch)
treedb279c3ce3b36e4175f74533ffbe3c014249a3ee /isinf.patch
parent1e32a9caebcc6ecb112da815292281272d6dbbf3 (diff)
downloadaur-bc909e8f78b08963c30016e323c21dadd5d04ef3.tar.gz
Patch isinf
Diffstat (limited to 'isinf.patch')
-rw-r--r--isinf.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/isinf.patch b/isinf.patch
new file mode 100644
index 000000000000..462a8dd9ef80
--- /dev/null
+++ b/isinf.patch
@@ -0,0 +1,10 @@
+--- src/dosbox/src/fpu/fpu_instructions.h 2016-04-22 22:09:06.159430638 -0400
++++ src/dosbox/src/fpu/fpu_instructions.h 2016-04-22 22:09:50.657045747 -0400
+@@ -282,6 +282,7 @@ static void FPU_FBST(PhysPt addr) {
+ # include <math.h>
+ # include <cmath>
+ # define isdenormal(x) (!std::isnormal(x))
++# define isinf(x) (std::isinf(x))
+ #endif
+
+ static void FPU_FADD(Bitu op1, Bitu op2){