[FFmpeg-devel] [PATCH] udp: Define _DARWIN_C_SOURCE
Igor 'Lo' (И.L.)
Wed Oct 6 18:36:48 CEST 2010
>> check_type ... -D_DARWIN_C_SOURCE
> Oh, neat, thanks!
> The attached patch makes configure find this struct on OS X, and still
> confining the define to the actual source files that need it.
> // Martin
Hmm. Shouldn't be BSD test added into configure too?
On FreeBSD 8.0, netinet/in.h contains an
structure. There was a udp.c patch suggested not so long ago, but it
seems to be rejected. If #define __BSD_VISIBLE is put into udp.c, it
More information about the ffmpeg-devel