fix for building under macOS
This commit is contained in:
parent
f11b767efc
commit
deb6bdf39a
@ -45,6 +45,13 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __APPLE__
|
||||
#include <libkern/OSByteOrder.h>
|
||||
#ifndef be32toh
|
||||
#define be32toh(x) OSSwapBigToHostInt32(x)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
//////////////////////////////////// IFF ////////////////////////////////////
|
||||
/** @defgroup IFF Interchange File Format
|
||||
* @ingroup loadsaveformats
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user