Yet another try to fix NetBSD's problem with getservbyname_r.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
32df13a52a
commit
def7c04a01
3
configure
vendored
3
configure
vendored
@ -1861,6 +1861,9 @@ _ACEOF
|
||||
|
||||
DEFAULT_DEFAULT_wxUSE_GTK=1
|
||||
NEEDS_D_REENTRANT_FOR_R_FUNCS=1
|
||||
|
||||
|
||||
CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
|
||||
;;
|
||||
*-*-osf* )
|
||||
USE_ALPHA=1
|
||||
|
@ -205,6 +205,10 @@ case "${host}" in
|
||||
AC_DEFINE(__BSD__)
|
||||
DEFAULT_DEFAULT_wxUSE_GTK=1
|
||||
NEEDS_D_REENTRANT_FOR_R_FUNCS=1
|
||||
|
||||
dnl some standard declarations in NetBSD headers are only included if
|
||||
dnl _NETBSD_SOURCE and _LIBC are defined, e.g. getservbyname_r in netdb.h
|
||||
CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
|
||||
;;
|
||||
*-*-osf* )
|
||||
USE_ALPHA=1
|
||||
|
Loading…
Reference in New Issue
Block a user