summaryrefslogblamecommitdiff
path: root/experimental/lmms/isinff.patch
blob: 6c83c505225ad3d63d163a56be0f3d37da9c0a16 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11









                                                                                                                                                                                                  
--- lmms-1.2.0-rc7/include/lmms_math.h.old	2018-09-25 07:47:51.000000000 +0000
+++ lmms-1.2.0-rc7/include/lmms_math.h	2019-01-20 19:22:47.190000000 +0000
@@ -34,7 +34,7 @@
 #include <cmath>
 using namespace std;
 
-#if defined (LMMS_BUILD_WIN32) || defined (LMMS_BUILD_APPLE) || defined(LMMS_BUILD_HAIKU)  || defined (__FreeBSD__) || defined(__OpenBSD__)
+#if defined (LMMS_BUILD_WIN32) || defined (LMMS_BUILD_APPLE) || defined(LMMS_BUILD_HAIKU)  || defined (__FreeBSD__) || defined(__OpenBSD__) || (defined(LMMS_BUILD_LINUX) && !defined(__GLIBC__))
 #ifndef isnanf
 #define isnanf(x)	isnan(x)
 #endif