[FFmpeg-cvslog] avformat/os_support: Add _DEFAULT_SOURCE to hide warning about _SVID_SOURCE depreciation
Daniel Bomar
git at videolan.org
Fri Sep 19 22:32:29 CEST 2014
ffmpeg | branch: master | Daniel Bomar <dbdaniel42 at gmail.com> | Fri Sep 19 14:56:00 2014 -0500| [af1818276ef271af98e2e2bbabb4dc875b4fa7d8] | committer: 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: Daniel Bomar <dbdaniel42 at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=af1818276ef271af98e2e2bbabb4dc875b4fa7d8
---
libavformat/os_support.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavformat/os_support.c b/libavformat/os_support.c
index e8f063a..f9d6eea 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"
More information about the ffmpeg-cvslog
mailing list