Merge pull request #918 from tresf/stable-1.1

Fix win32 build error caused by #913
This commit is contained in:
Vesa V
2014-07-01 09:34:35 +03:00
2 changed files with 10 additions and 9 deletions

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 )

View File

@@ -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"
{