[build] set _BSD_SOURCE to 1 to quiet warnings

This commit is contained in:
Timothy Stack 2013-04-24 07:18:27 -07:00
parent 7c60b1c36d
commit 5a25a76b2d
2 changed files with 2 additions and 2 deletions

2
configure vendored
View File

@ -6562,7 +6562,7 @@ case "$host_os" in
*)
# AC_DEFINE([_XOPEN_SOURCE], [500], [Need pread])
$as_echo "#define _BSD_SOURCE /**/" >>confdefs.h
$as_echo "#define _BSD_SOURCE 1" >>confdefs.h
;;
esac

View File

@ -110,7 +110,7 @@ AX_LIB_SQLITE3("3.0.0")
case "$host_os" in
*)
# AC_DEFINE([_XOPEN_SOURCE], [500], [Need pread])
AC_DEFINE([_BSD_SOURCE], [], [Need pread])
AC_DEFINE([_BSD_SOURCE], [1], [Need pread])
;;
esac