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:
Stefan Neis 2006-01-25 14:29:09 +00:00
parent 32df13a52a
commit def7c04a01
2 changed files with 7 additions and 0 deletions

3
configure vendored
View File

@ -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

View File

@ -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