summaryrefslogtreecommitdiff
path: root/distrho/DistrhoPlugin.hpp
diff options
context:
space:
mode:
authorfalkTX <falktx@gmail.com>2014-01-29 20:48:16 +0000
committerfalkTX <falktx@gmail.com>2014-01-29 20:48:16 +0000
commit3b225c6bc6db02026f7b4c6b98c32d16a6c7edd0 (patch)
treefefcf17a3a666c19148c5fd067508d4169724430 /distrho/DistrhoPlugin.hpp
parent6fb740038a0c07e9ac7c10555307904317dfe99b (diff)
Fix M_PI; Implement basic VST timePos support
Diffstat (limited to 'distrho/DistrhoPlugin.hpp')
-rw-r--r--distrho/DistrhoPlugin.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/distrho/DistrhoPlugin.hpp b/distrho/DistrhoPlugin.hpp
index 56a29d4e..9635ed6a 100644
--- a/distrho/DistrhoPlugin.hpp
+++ b/distrho/DistrhoPlugin.hpp
@@ -19,6 +19,12 @@
#include "DistrhoUtils.hpp"
+#include <cmath>
+
+#ifndef M_PI
+# define M_PI 3.14159265358979323846
+#endif
+
START_NAMESPACE_DISTRHO
// -----------------------------------------------------------------------