Re: [q-lang-users] Error compiling Q on Mac
Brought to you by:
agraef
From: Marco M. <ma...@ma...> - 2006-12-03 14:39:56
|
On Dec 3, 2006, at 2:16 AM, Albert Graef wrote: > That seems to be an issue with Apple's system headers. A proper fix =20= > can > be found in Andrew Berg's post (I'll include that in the next =20 > release): > http://sourceforge.net/mailarchive/forum.php?=20 > thread_id=3D31075130&forum_id=3D36790 It works! > What's bizarre is that on OSX (at least on recent versions, I don't > remember seeing this the last time I compiled Q on OSX) you apparently > have to *#undef* _POSIX_C_SOURCE to get AF_LOCAL defined. I always > thought that AF_LOCAL was mandated by POSIX (rather than AF_UNIX)? In fact, in sys/cdefs.h there is the following code: #ifndef _POSIX_C_SOURCE #define AF_LOCAL AF_UNIX /* backward compatibility */ #endif /* !_POSIX_C_SOURCE */ Being totally illiterate on all this kind of stuff, i can't say if =20 this is the correct behavior or not. Thank you. Marco Maggesi Universit=E0 degli Studi di Firenze http://www.math.unifi.it/~maggesi/ |