Skip to content
Snippets Groups Projects
Commit af181827 authored by Daniel Bomar's avatar Daniel Bomar Committed by Michael Niedermayer
Browse files

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: default avatarDaniel Bomar <dbdaniel42@gmail.com>
Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
parent adaa274f
No related branches found
No related tags found
No related merge requests found
...@@ -21,6 +21,7 @@ ...@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment