summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/util.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/util.h b/src/lib/util.h
index d4616a7c9..1d4b01358 100644
--- a/src/lib/util.h
+++ b/src/lib/util.h
@@ -43,6 +43,10 @@ namespace dcp {
class SoundAsset;
}
+#ifndef M_PI
+#define M_PI (3.14159265358979323846)
+#endif
+
/** The maximum number of audio channels that we can have in a DCP */
#define MAX_DCP_AUDIO_CHANNELS 16
/** Message broadcast to find possible encoding servers */