Linux patches

This commit is contained in:
Charles J. Cliffe 2015-02-22 01:58:00 -05:00
parent aa540115d3
commit 009e20e448
2 changed files with 1 additions and 2 deletions

View File

@ -3,6 +3,7 @@
#include <vector> #include <vector>
#include <algorithm> #include <algorithm>
#include "DemodulatorThread.h" #include "DemodulatorThread.h"
#include <memory.h>
#ifdef USE_MIXER #ifdef USE_MIXER
std::map<int, AudioThread *> AudioThread::deviceController; std::map<int, AudioThread *> AudioThread::deviceController;

View File

@ -2,12 +2,10 @@
#include "DemodulatorThread.h" #include "DemodulatorThread.h"
#include <vector> #include <vector>
#ifdef _WIN32
#include <cmath> #include <cmath>
#ifndef M_PI #ifndef M_PI
#define M_PI 3.14159265358979323846 #define M_PI 3.14159265358979323846
#endif #endif
#endif
#ifdef __APPLE__ #ifdef __APPLE__
#include <pthread.h> #include <pthread.h>