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:
Ozkan Sezer 2012-07-07 05:09:55 +00:00
parent cb31b73fc2
commit 23ca031b56
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@
defined(__OpenBSD__) || defined(__NetBSD__) || \ defined(__OpenBSD__) || defined(__NetBSD__) || \
defined(PLATFORM_AMIGA) /* bsdsocket.library */ || \ defined(PLATFORM_AMIGA) /* bsdsocket.library */ || \
defined(__MACOSX__) || defined(__FreeBSD_kernel__) || \ 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 /* 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 * variants and the family member is also an unsigned char instead of an
* unsigned short. This should matter only when PLATFORM_UNIX is defined, * unsigned short. This should matter only when PLATFORM_UNIX is defined,