From 27b8fa41764599a3f26a38358a3db3b11c1ca59d Mon Sep 17 00:00:00 2001 From: aymeric <aymeric@3f6dc0c8-ddfe-455d-9043-3cd528dc4637> Date: Wed, 16 Dec 2009 16:48:31 +0000 Subject: [PATCH] fix when htonq is already defined git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@784 3f6dc0c8-ddfe-455d-9043-3cd528dc4637 --- linphone/oRTP/src/stun.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/linphone/oRTP/src/stun.c b/linphone/oRTP/src/stun.c index f044dbb043..a5d2eb7873 100644 --- a/linphone/oRTP/src/stun.c +++ b/linphone/oRTP/src/stun.c @@ -320,7 +320,8 @@ turnParseAtrRequestedTransport( char* body, unsigned int hdrLen, TurnAtrRequest return TRUE; } -#ifdef ORTP_BIGENDIAN +#if defined(htonq) +#elif defined(ORTP_BIGENDIAN) #define htonq(n) n #define ntohq(n) n #else /* little endian */ -- GitLab