mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-09 01:01:07 +00:00
GNU/Hurd has BSD-style struct sockaddr too (reported by Svante Signell
in debian bug #657793) http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657793 git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@691 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
cb31b73fc2
commit
23ca031b56
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@
|
|||
defined(__OpenBSD__) || defined(__NetBSD__) || \
|
||||
defined(PLATFORM_AMIGA) /* bsdsocket.library */ || \
|
||||
defined(__MACOSX__) || defined(__FreeBSD_kernel__) || \
|
||||
defined(__riscos__)
|
||||
defined(__GNU__) /* GNU/Hurd */ || defined(__riscos__)
|
||||
/* struct sockaddr has unsigned char sa_len as the first member in BSD
|
||||
* variants and the family member is also an unsigned char instead of an
|
||||
* unsigned short. This should matter only when PLATFORM_UNIX is defined,
|
||||
|
|
Loading…
Reference in a new issue