mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-17 01:11:45 +00:00
ipv6: Fix glibc defines
This commit is contained in:
parent
ec11282a33
commit
cdf5ef2565
1 changed files with 2 additions and 2 deletions
|
@ -111,10 +111,10 @@ static __attribute__ ((used)) const char rcsid[] =
|
|||
# define MAXHOSTNAMELEN 512
|
||||
#endif
|
||||
|
||||
#ifdef __GLIBC__ // glibc macro
|
||||
#if defined(__GLIBC__) && !defined(s6_addr32) // glibc macro
|
||||
# define s6_addr32 in6_u.u6_addr32
|
||||
# if ! __GLIBC_PREREQ (2,2)
|
||||
# define ss_family __ss_family
|
||||
# define ss_family __ss_family
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue