set _DEFAULT_SOURCE on linux hosts

this is the replacement for _BSD_SOURCE on newer glibc's
This commit is contained in:
Brent Cook 2014-08-16 08:17:32 -05:00
parent 6dccbae663
commit 2d719eb3d7

View File

@ -15,7 +15,7 @@ case $host_os in
;; ;;
*linux*) *linux*)
HOST_OS=linux; HOST_OS=linux;
CFLAGS="$CFLAGS -D_BSD_SOURCE -D_POSIX_SOURCE -D_GNU_SOURCE" CFLAGS="$CFLAGS -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -D_GNU_SOURCE"
;; ;;
*solaris*) *solaris*)
HOST_OS=solaris; HOST_OS=solaris;