diff options
author | Max Kellermann <max@duempel.org> | 2014-03-15 18:24:46 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-03-15 18:27:09 +0100 |
commit | 7d353bbe2a70cd7894b1f5954a37e4a07890478d (patch) | |
tree | 9ac818eb495e5beee2412a0b3bb285d67fadc80a /configure.ac | |
parent | 5696f91a1e5e0cd1022c60737465c29b429ea599 (diff) | |
download | mpd-7d353bbe2a70cd7894b1f5954a37e4a07890478d.tar.gz mpd-7d353bbe2a70cd7894b1f5954a37e4a07890478d.tar.xz mpd-7d353bbe2a70cd7894b1f5954a37e4a07890478d.zip |
configure.ac: always define _GNU_SOURCE on Linux
Make sure glibc gives us all features.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index f449c2d2e..689c0b40a 100644 --- a/configure.ac +++ b/configure.ac @@ -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*) |