From bfe0583a1264e2b1467942ec33e1fa773d450d9b Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Mon, 10 Aug 2015 11:20:29 +0200 Subject: Move feature test macros to config.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I removed most of the *BSD-related stuff, because I can’t test these. If this breaks your build, send me a patch please. --- src/config.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/config.h') diff --git a/src/config.h b/src/config.h index bc1f2a1..788455c 100644 --- a/src/config.h +++ b/src/config.h @@ -6,6 +6,9 @@ #define VERSION "2014.09.28-dev" +/* glibc feature test macros, define _before_ including other files */ +#define _POSIX_C_SOURCE 200809L + /* ffmpeg/libav quirks detection * ffmpeg’s micro versions always start at 100, that’s how we can distinguish * ffmpeg and libav */ -- cgit v1.2.3