summarylogtreecommitdiffstats
path: root/patch-isnan.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patch-isnan.patch')
-rw-r--r--patch-isnan.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/patch-isnan.patch b/patch-isnan.patch
new file mode 100644
index 000000000000..564fd6ac6c18
--- /dev/null
+++ b/patch-isnan.patch
@@ -0,0 +1,12 @@
+diff --git a/src/control/tools/EditSelectionContents.cpp b/src/control/tools/EditSelectionContents.cpp
+--- a/src/control/tools/EditSelectionContents.cpp
++++ b/src/control/tools/EditSelectionContents.cpp
+@@ -26,6 +26,8 @@
+
+ #include <math.h>
+
++#define isnan std::isnan
++
+ EditSelectionContents::EditSelectionContents(double x, double y, double width, double height,
+ PageRef sourcePage, Layer* sourceLayer, PageView* sourceView)
+ {