DynamicsProcessor: fixed Win32 build issue

For some reason isnanf() is not defined when building with recent MinGW64
toolchain, therefore define it manually if neccessary.
This commit is contained in:
Tobias Doerffel
2014-02-18 23:33:17 +01:00
parent f512c63017
commit 0ee88252bb

View File

@@ -28,6 +28,14 @@
#include <math.h>
#include "embed.cpp"
#ifdef LMMS_BUILD_WIN32
#ifndef isnanf
#define isnanf(x) isnan(x)
#endif
#ifndef isinff
#define isinff(x) isinf(x)
#endif
#endif
extern "C"
{