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:
parent
8a477773f7
commit
b6a4982102
6 changed files with 33 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue