2012/5/6 Steven Chamberlain ste...@pyro.eu.org:
It looks to me like GNU/kFreeBSD uses the sys/un.h provided by eglibc,
with a sockaddr_un different to FreeBSD's, so the test should rather be:
# if defined(__linux__) || defined(__GLIBC__)
Note that this is true for the declaration (which is
On 06/05/12 22:01, Dominic Hargreaves wrote:
As for GNU/Hurd, my guess is that it doesn't have that header at all...
Oops, since I didn't see the file in the packages.debian.org search
results, I assumed hurd-i386 didn't have it...
Good point. The test does fail on hurd-i386 too.
If you're
On Sun, May 06, 2012 at 05:26:45PM +0200, Robert Millan wrote:
2012/5/6 Steven Chamberlain ste...@pyro.eu.org:
It looks to me like GNU/kFreeBSD uses the sys/un.h provided by eglibc,
with a sockaddr_un different to FreeBSD's, so the test should rather be:
# if defined(__linux__) ||
On 06/05/12 22:01, Dominic Hargreaves wrote:
On Sun, May 06, 2012 at 05:26:45PM +0200, Robert Millan wrote:
2012/5/6 Steven Chamberlainste...@pyro.eu.org:
It looks to me like GNU/kFreeBSD uses the sys/un.h provided by eglibc,
with a sockaddr_un different to FreeBSD's, so the test should rather
On Sun, May 06, 2012 at 10:05:18PM +0100, Steven Chamberlain wrote:
On 06/05/12 22:01, Dominic Hargreaves wrote:
Good point. The test does fail on hurd-i386 too.
If you're able to test this on a GNU/Hurd box you can try:
# if defined(__linux__) || defined(__GNU__) || defined(__GLIBC__)
5 matches
Mail list logo