From aa540115d3ecc5bf51e6d1ff55e3d82ae9e738f0 Mon Sep 17 00:00:00 2001 From: "Charles J. Cliffe" Date: Sun, 22 Feb 2015 01:01:28 -0500 Subject: [PATCH] windows patch --- src/demod/DemodulatorThread.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/demod/DemodulatorThread.cpp b/src/demod/DemodulatorThread.cpp index 4c257bb..99b439b 100644 --- a/src/demod/DemodulatorThread.cpp +++ b/src/demod/DemodulatorThread.cpp @@ -1,7 +1,14 @@ -#include "DemodulatorThread.h" #include "CubicSDRDefs.h" +#include "DemodulatorThread.h" #include +#ifdef _WIN32 +#include +#ifndef M_PI +#define M_PI 3.14159265358979323846 +#endif +#endif + #ifdef __APPLE__ #include #endif