aboutsummaryrefslogtreecommitdiffstats
path: root/testing/cups-filters/isnan.patch
blob: 187201fb98666a8a88947eb6080bc0774d559a3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- ./filter/pdftopdf/pptypes.cc.orig
+++ ./filter/pdftopdf/pptypes.cc
@@ -163,10 +163,10 @@
 
 void PageRect::set(const PageRect &rhs) // {{{
 {
-  if (!isnan(rhs.top)) top=rhs.top;
-  if (!isnan(rhs.left)) left=rhs.left;
-  if (!isnan(rhs.right)) right=rhs.right;
-  if (!isnan(rhs.bottom)) bottom=rhs.bottom;
+  if (!std::isnan(rhs.top)) top=rhs.top;
+  if (!std::isnan(rhs.left)) left=rhs.left;
+  if (!std::isnan(rhs.right)) right=rhs.right;
+  if (!std::isnan(rhs.bottom)) bottom=rhs.bottom;
 }
 // }}}