File mingw64-sdrangel-define-M_PI.patch of Package mingw64-sdrangel
diff --git a/plugins/samplesource/testsource/testsourcethread.h b/plugins/samplesource/testsource/testsourcethread.h
index db506d3..0a4df27 100644
--- a/plugins/samplesource/testsource/testsourcethread.h
+++ b/plugins/samplesource/testsource/testsourcethread.h
@@ -32,6 +32,11 @@
#define TESTSOURCE_THROTTLE_MS 50
+// HACK
+#ifndef M_PI
+#define M_PI 3.14159265358979323846
+#endif
+
class TestSourceThread : public QThread {
Q_OBJECT