mirror of
https://github.com/tstack/lnav
synced 2024-11-19 15:25:34 +00:00
Merge pull request #145 from sureshsundriyal/wip
Let BSD definitions take precedence.
This commit is contained in:
commit
82f28a9f61
9
configure
vendored
9
configure
vendored
@ -8064,6 +8064,15 @@ fi
|
||||
|
||||
|
||||
|
||||
case "$host_os" in
|
||||
*)
|
||||
# AC_DEFINE([_XOPEN_SOURCE], [500], [Need pread])
|
||||
|
||||
$as_echo "#define _BSD_SOURCE 1" >>confdefs.h
|
||||
|
||||
;;
|
||||
esac
|
||||
|
||||
ALL_LDFLAGS="$LDFLAGS $SQLITE3_LDFLAGS"
|
||||
|
||||
static_lib_list="libncurses.a libreadline.a libsqlite3.a libz.a libtinfo.a"
|
||||
|
@ -138,6 +138,13 @@ AX_PATH_LIB_READLINE
|
||||
|
||||
LNAV_WITH_SQLITE3("3.0.0")
|
||||
|
||||
case "$host_os" in
|
||||
*)
|
||||
# AC_DEFINE([_XOPEN_SOURCE], [500], [Need pread])
|
||||
AC_DEFINE([_BSD_SOURCE], [1], [Need pread])
|
||||
;;
|
||||
esac
|
||||
|
||||
ALL_LDFLAGS="$LDFLAGS $SQLITE3_LDFLAGS"
|
||||
|
||||
static_lib_list="libncurses.a libreadline.a libsqlite3.a libz.a libtinfo.a"
|
||||
|
@ -161,3 +161,6 @@
|
||||
|
||||
/* Version number of package */
|
||||
#undef VERSION
|
||||
|
||||
/* Need pread */
|
||||
#undef _BSD_SOURCE
|
||||
|
Loading…
Reference in New Issue
Block a user