Merge pull request #918 from tresf/stable-1.1
Fix win32 build error caused by #913
This commit is contained in:
@@ -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 )
|
||||
|
||||
@@ -30,15 +30,6 @@
|
||||
|
||||
#include "embed.cpp"
|
||||
|
||||
#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
|
||||
|
||||
extern "C"
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user