From a5f80f17813241cdfe32947722f9845bc32bcd87 Mon Sep 17 00:00:00 2001 From: Joshua Colp Date: Sun, 8 Mar 2015 01:47:03 +0000 Subject: [PATCH] res_rtp_asterisk: Fix wrongful use of USE_PJPROJECT define. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit As pjproject is now used as a shared library a different define, HAVE_PJPROJECT, is used to specify if pjproject is present. ASTERISK-24830 #close Reported by: Stefan Engström ........ Merged revisions 432614 from http://svn.asterisk.org/svn/asterisk/branches/13 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@432615 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- res/res_rtp_asterisk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/res_rtp_asterisk.c b/res/res_rtp_asterisk.c index af017a1038..c3f258c9eb 100644 --- a/res/res_rtp_asterisk.c +++ b/res/res_rtp_asterisk.c @@ -4994,7 +4994,7 @@ static int ast_rtp_activate(struct ast_rtp_instance *instance) struct ast_rtp *rtp = ast_rtp_instance_get_data(instance); /* If ICE negotiation is enabled the DTLS Handshake will be performed upon completion of it */ -#ifdef USE_PJPROJECT +#ifdef HAVE_PJPROJECT if (rtp->ice) { return 0; } -- 2.47.2