Fix compile errors
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
#include "fft_helpers.h"
|
||||
|
||||
#include <math.h>
|
||||
#include <lmms_math.h>
|
||||
|
||||
|
||||
/* returns biggest value from abs_spectrum[spec_size] array
|
||||
|
||||
Reference in New Issue
Block a user