aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/libprojectm/projectm-isnan.patch
blob: d8738e709c0cf376be7b57e06552b825357b5324 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- projectM-2.0.1-Source/Common.hpp
+++ projectM-2.0.1-Source.mod/Common.hpp
@@ -30,6 +30,7 @@
 #include <typeinfo>
 #include <cstdarg>
 #include <cassert>
+#include <math.h>
 #ifdef _MSC_sVER
 #define strcasecmp(s, t) _strcmpi(s, t)
 #endif
@@ -55,7 +56,7 @@
 
 #ifdef LINUX
 #include <cstdlib>
-#define projectM_isnan isnan
+#define projectM_isnan __isnan
 
 #endif