mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 07:31:22 +01: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:
parent
adaa274fa8
commit
af1818276e
1 changed files with 1 additions and 0 deletions
|
|
@ -21,6 +21,7 @@
|
|||
*/
|
||||
|
||||
/* needed by inet_aton() */
|
||||
#define _DEFAULT_SOURCE
|
||||
#define _SVID_SOURCE
|
||||
|
||||
#include "config.h"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue