Attempt to detect and use CoreFoundation's headers for endianness conversions on Mac OS X.

PR:		Issue 21
Submitted by:	MathewMcBride47
This commit is contained in:
Romain Tartiere 2010-09-04 11:06:14 +00:00
parent 8a477773f7
commit b6a4982102
6 changed files with 33 additions and 3 deletions

View file

@ -52,6 +52,10 @@
# include <endian.h>
#endif
#if defined(HAVE_COREFOUNDATION_COREFOUNDATION_H)
# include <CoreFoundation/CoreFoundation.h>
#endif
#if defined(HAVE_BYTESWAP_H)
# include <byteswap.h>
#endif