diff options
author | Daniel Bomar <dbdaniel42@gmail.com> | 2014-09-19 14:56:00 -0500 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-09-19 22:32:05 +0200 |
commit | af1818276ef271af98e2e2bbabb4dc875b4fa7d8 (patch) | |
tree | 7c137eb10ac605a59c14de173f08225c5f4e99ad | |
parent | adaa274fa8a2ffbced2150798fb9cdd6d24e183e (diff) | |
download | ffmpeg-af1818276ef271af98e2e2bbabb4dc875b4fa7d8.tar.gz |
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>
-rw-r--r-- | libavformat/os_support.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/os_support.c b/libavformat/os_support.c index e8f063aaf8..f9d6eeaf90 100644 --- a/libavformat/os_support.c +++ b/libavformat/os_support.c @@ -21,6 +21,7 @@ */ /* needed by inet_aton() */ +#define _DEFAULT_SOURCE #define _SVID_SOURCE #include "config.h" |