summarylogtreecommitdiffstats
path: root/patch-isnan.patch
blob: 564fd6ac6c18879c24935e645c38d6d5b4e5f8c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
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)
 {