From b3ed8d8165c4005de8ad5ade0db57f764c5c18a2 Mon Sep 17 00:00:00 2001 From: mom040267 Date: Tue, 17 Mar 2015 06:57:10 +0000 Subject: [PATCH] sctp compilation --- configure | 2 +- src/apps/relay/ns_ioalib_engine_impl.c | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/configure b/configure index 31ad69e..fa898ca 100755 --- a/configure +++ b/configure @@ -1167,7 +1167,7 @@ if [ -z "${TURN_NO_SCTP}" ] ; then if [ -z "${TURN_SCTP_INCLUDE}" ] ; then TURN_NO_SCTP="-DTURN_NO_SCTP" else - TURN_SCTP_INCLUDE="-DTURN_SCTP_INCLUDE=${TURN_SCTP_INCLUDE}" + TURN_SCTP_INCLUDE="-DTURN_SCTP_INCLUDE=\"\\\"${TURN_SCTP_INCLUDE}\\\"\"" fi fi else diff --git a/src/apps/relay/ns_ioalib_engine_impl.c b/src/apps/relay/ns_ioalib_engine_impl.c index 94f28fd..7622d97 100644 --- a/src/apps/relay/ns_ioalib_engine_impl.c +++ b/src/apps/relay/ns_ioalib_engine_impl.c @@ -51,9 +51,7 @@ #endif #if !defined(TURN_NO_SCTP) && defined(TURN_SCTP_INCLUDE) -#define Q(x) #x -#define QUOTE(x) Q(x) -#include QUOTE(TURN_SCTP_INCLUDE) +#include TURN_SCTP_INCLUDE #endif /* Compilation test: