mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
Martin Storsjö
9fd5f39b0e
configure: Set _DARWIN_C_SOURCE while testing for struct ipv6_mreq
On OS X, this struct is only available if _DARWIN_C_SOURCE is defined, when we have _POSIX_C_SOURCE defined. This allows the struct to be found, enabling proper IPv6 multicast functionality on OS X. The define is already set within the file that uses the struct. Setting it only for this test in configure avoids having to keep it defined for the whole build. Originally committed as revision 25370 to svn://svn.ffmpeg.org/ffmpeg/trunk
FFmpeg README ------------- 1) Documentation ---------------- * Read the documentation in the doc/ directory. 2) Licensing ------------ * See the LICENSE file.
Languages
C
90.3%
Assembly
7.8%
Makefile
1.3%
C++
0.2%
Objective-C
0.2%
Other
0.1%