On Fri, May 11, 2007 at 03:15:00PM -0700, troy engel wrote: > On 5/11/07, Chris Frey <[EMAIL PROTECTED]> wrote: > > > > bswap_16() > > bswap_32() > > bswap_64() > > I see numerous Google hits that it's GNU non-portable, and indeed I
Thanks for checking into this. I found it is GNU-specific too, but I also found reference to a porting document that recommended I use endian.h. endian.h on linux systems is useless for this, as far as I can see, but perhaps Max OS X has functions of their own in there. > can't find it on any of the OS X boxes I peeked at (then again, they > might not have Xcode installed for all I know). I found one thread > from a guy who wrote his own: > > http://www.netstumbler.org/showpost.php?s=79764fd1526e4653d5cb4432225da6ee&p=190494&postcount=29 > > ...the extracted byteswap.h from the tarball: This is simple stuff, so perhaps this is the best route. It's easier than adding more cruft to autoconf. :-) Thanks, - Chris ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Barry-devel mailing list Barry-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/barry-devel