Commit a7fa0d5c authored by jehan's avatar jehan

add __APPLE_USE_RFC_2292 for ipv6 under macosx

parent 2ad6c8f6
...@@ -68,6 +68,8 @@ AC_ARG_ENABLE(ipv6, ...@@ -68,6 +68,8 @@ AC_ARG_ENABLE(ipv6,
esac],[ipv6=true]) esac],[ipv6=true])
if test x$ipv6 = xtrue ; then if test x$ipv6 = xtrue ; then
ORTP_DEFS="$ORTP_DEFS -DORTP_INET6" ORTP_DEFS="$ORTP_DEFS -DORTP_INET6"
AC_DEFINE(__APPLE_USE_RFC_2292, 1, [ Apple wants you to declare what behavior you want by
defining either __APPLE_USE_RFC_2292])
fi fi
dnl enable timestamp support dnl enable timestamp support
......
...@@ -17,16 +17,16 @@ ...@@ -17,16 +17,16 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/ */
#include "ortp/ortp.h"
#include "utils.h"
#include "ortp/rtpsession.h"
#include "rtpsession_priv.h"
#if defined(WIN32) || defined(_WIN32_WCE) #if defined(WIN32) || defined(_WIN32_WCE)
#include "ortp-config-win32.h" #include "ortp-config-win32.h"
#elif HAVE_CONFIG_H #elif HAVE_CONFIG_H
#include "ortp-config.h" /*needed for HAVE_SYS_UIO_H */ #include "ortp-config.h" /*needed for HAVE_SYS_UIO_H */
#endif #endif
#include "ortp/ortp.h"
#include "utils.h"
#include "ortp/rtpsession.h"
#include "rtpsession_priv.h"
#if (_WIN32_WINNT >= 0x0600) #if (_WIN32_WINNT >= 0x0600)
#include <delayimp.h> #include <delayimp.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment