Commit af181827 authored by Daniel Bomar's avatar Daniel Bomar Committed by Michael Niedermayer

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: 's avatarDaniel Bomar <dbdaniel42@gmail.com>
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent adaa274f
......@@ -21,6 +21,7 @@
*/
/* needed by inet_aton() */
#define _DEFAULT_SOURCE
#define _SVID_SOURCE
#include "config.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