mirror of
https://github.com/LMMS/lmms.git
synced 2026-01-21 21:07:56 -05:00
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:
@@ -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"
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user