Fix compile errors

This commit is contained in:
Lukas W
2014-11-16 01:51:29 +01:00
parent 2c1f07d655
commit 0916bc073e
2 changed files with 7 additions and 2 deletions

View File

@@ -31,7 +31,12 @@
#include "lmmsconfig.h"
#include <QtCore/QtGlobal>
#include <math.h>
#include <cmath>
using namespace std;
#ifndef M_PI
# define M_PI 3.14159265358979323846
#endif
#if defined (LMMS_BUILD_WIN32) || defined (LMMS_BUILD_APPLE)
#ifndef isnanf

View File

@@ -25,7 +25,7 @@
#include "fft_helpers.h"
#include <math.h>
#include <lmms_math.h>
/* returns biggest value from abs_spectrum[spec_size] array