aboutsummaryrefslogtreecommitdiff
path: root/src/QXmppRtpChannel.cpp
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2010-12-10 17:25:03 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2010-12-10 17:25:03 +0000
commitaf8db3d66a3170d21c0d5dc40c860a24bc7e78c4 (patch)
treeec011f99e5ceb7697399e5882d28ec061013ad61 /src/QXmppRtpChannel.cpp
parentc09f2847978432adbe6212e35e909075e5a0ea1f (diff)
downloadqxmpp-af8db3d66a3170d21c0d5dc40c860a24bc7e78c4.tar.gz
define M_PI for platforms that don't have it
Diffstat (limited to 'src/QXmppRtpChannel.cpp')
-rw-r--r--src/QXmppRtpChannel.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/QXmppRtpChannel.cpp b/src/QXmppRtpChannel.cpp
index b1b02328..1ed9f00d 100644
--- a/src/QXmppRtpChannel.cpp
+++ b/src/QXmppRtpChannel.cpp
@@ -31,6 +31,10 @@
#include "QXmppJingleIq.h"
#include "QXmppRtpChannel.h"
+#ifndef M_PI
+#define M_PI 3.14159265358979323846264338327950288
+#endif
+
//#define QXMPP_DEBUG_RTP
#define SAMPLE_BYTES 2