1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-26 20:55:19 +03:00
aports/testing/libprojectm/projectm-isnan.patch
2011-01-21 17:55:10 -06:00

20 lines
372 B
Diff

--- 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