Joseph McDonald wrote:
[...]
if I set __BSD_VISIBLE then u_int, u_char are typedef'd (in sys/types.h), otherwise they are not.
That's funny. My Mac OS X system has the same files, but in sys/types.h it doesn't use __BSD_VISIBLE, but _POSIX_SOURCE: #ifndef _POSIX_SOURCE typedef unsigned char u_char; typedef unsigned short u_short; typedef unsigned int u_int; typedef unsigned long u_long; typedef unsigned short ushort; /* Sys V compatibility */ typedef unsigned int uint; /* Sys V compatibility */ #endif
There is probably a better way, I just don't know what it is.
thanks, -joe
------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users