1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-10 06:10:52 +02:00

avformat/os_support: Add _DEFAULT_SOURCE to hide warning about _SVID_SOURCE depreciation

As suggested, this just adds _DEFAULT_SOURCE while preserving
_SVID_SOURCE for whatever old systems still need it.

Signed-off-by: Daniel Bomar <dbdaniel42@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Daniel Bomar
2014-09-19 14:56:00 -05:00
committed by Michael Niedermayer
parent adaa274fa8
commit af1818276e

View File

@@ -21,6 +21,7 @@
*/ */
/* needed by inet_aton() */ /* needed by inet_aton() */
#define _DEFAULT_SOURCE
#define _SVID_SOURCE #define _SVID_SOURCE
#include "config.h" #include "config.h"