[FFmpeg-cvslog] r25351 - trunk/libavformat/udp.c
mstorsjo
subversion
Tue Oct 5 18:35:33 CEST 2010
Author: mstorsjo
Date: Tue Oct 5 18:35:33 2010
New Revision: 25351
Log:
udp: Define _DARWIN_C_SOURCE
This is required in order to get the IP_MULTICAST_TTL define.
Modified:
trunk/libavformat/udp.c
Modified: trunk/libavformat/udp.c
==============================================================================
--- trunk/libavformat/udp.c Tue Oct 5 16:09:30 2010 (r25350)
+++ trunk/libavformat/udp.c Tue Oct 5 18:35:33 2010 (r25351)
@@ -25,6 +25,7 @@
*/
#define _BSD_SOURCE /* Needed for using struct ip_mreq with recent glibc */
+#define _DARWIN_C_SOURCE /* Needed for using IP_MULTICAST_TTL on OS X */
#include "avformat.h"
#include <unistd.h>
#include "internal.h"
More information about the ffmpeg-cvslog
mailing list