set _DEFAULT_SOURCE on linux hosts
this is the replacement for _BSD_SOURCE on newer glibc's
This commit is contained in:
parent
6dccbae663
commit
2d719eb3d7
@ -15,7 +15,7 @@ case $host_os in
|
||||
;;
|
||||
*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*)
|
||||
HOST_OS=solaris;
|
||||
|
Loading…
x
Reference in New Issue
Block a user