diff options
Diffstat (limited to 'testing/libprojectm/projectm-isnan.patch')
-rw-r--r-- | testing/libprojectm/projectm-isnan.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/libprojectm/projectm-isnan.patch b/testing/libprojectm/projectm-isnan.patch new file mode 100644 index 0000000000..d8738e709c --- /dev/null +++ b/testing/libprojectm/projectm-isnan.patch @@ -0,0 +1,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 + + |