isinf and isnan declarations win32/apple

This commit is contained in:
Tres Finocchiaro
2014-06-30 23:21:17 -04:00
parent 20b63ea6c4
commit 63a5a16cd0

View File

@@ -28,10 +28,20 @@
#include <stdint.h>
#include "lmms_constants.h"
#include "lmmsconfig.h"
#include <QtCore/QtGlobal>
#include <math.h>
#if defined (LMMS_BUILD_WIN32) || defined (LMMS_BUILD_APPLE)
#ifndef isnanf
#define isnanf(x) isnan(x)
#endif
#ifndef isinff
#define isinff(x) isinf(x)
#endif
#endif
#ifdef __INTEL_COMPILER
static inline float absFraction( const float _x )