From: Jeff Lenk Date: Fri, 12 Jul 2013 19:27:21 +0000 (-0500) Subject: fix windows compiler error X-Git-Tag: v1.5.3~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92452ad30990d69fc9649a66aaf2404f99e287ea;p=thirdparty%2Ffreeswitch.git fix windows compiler error --- diff --git a/src/switch_rtp.c b/src/switch_rtp.c index f1ceb1d5c3..661ce3f7d4 100644 --- a/src/switch_rtp.c +++ b/src/switch_rtp.c @@ -34,8 +34,6 @@ //#define RTP_DEBUG_WRITE_DELTA //#define DEBUG_MISSED_SEQ -#define FIR_COUNTDOWN 100 - #include #ifndef _MSC_VER #include @@ -56,6 +54,8 @@ #include #include +#define FIR_COUNTDOWN 100 + #define READ_INC(rtp_session) switch_mutex_lock(rtp_session->read_mutex); rtp_session->reading++ #define READ_DEC(rtp_session) switch_mutex_unlock(rtp_session->read_mutex); rtp_session->reading-- #define WRITE_INC(rtp_session) switch_mutex_lock(rtp_session->write_mutex); rtp_session->writing++