configure.ac: always define _GNU_SOURCE on Linux

Make sure glibc gives us all features.
This commit is contained in:
Max Kellermann
2014-03-15 18:24:46 +01:00
parent 5696f91a1e
commit 7d353bbe2a
4 changed files with 3 additions and 13 deletions

View File

@@ -90,6 +90,9 @@ linux-android*)
linux*)
host_is_linux=yes
linux_auto=auto
dnl allow using all glibc features
CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
;;
mingw32* | windows*)