mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
Improve check for sa_len
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@12276 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2700f7ed6e
commit
04940f531e
3 changed files with 605 additions and 491 deletions
|
@ -6,6 +6,7 @@
|
|||
support if the O/S supports it. Converted to use standard debug
|
||||
logging keyed on NSRunLoop. Fixed poll code to call any available
|
||||
event handler when an error occurs on a descriptor.
|
||||
* configure.in: Improve check for sa_len
|
||||
|
||||
2002-01-30 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
* Headers/gnustep/base/GSIMap.h: Fix bug cleaning table and add
|
||||
|
|
|
@ -137,7 +137,11 @@ fi
|
|||
#--------------------------------------------------------------------
|
||||
AC_MSG_CHECKING(for gdomap network details)
|
||||
AC_MSG_CHECKING(for variable length socket addresses)
|
||||
AC_TRY_COMPILE([#include <net/if.h>],
|
||||
AC_TRY_COMPILE([
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <net/if.h>
|
||||
],
|
||||
[struct ifreq s; s.ifr_addr.sa_len = 0;],
|
||||
sa_len=1, sa_len=0)
|
||||
if test $sa_len = 1; then
|
||||
|
|
Loading…
Reference in a new issue