Compare commits
1 Commits
d7c29c1ab0
...
8ef997c636
Author | SHA1 | Date | |
---|---|---|---|
8ef997c636 |
@ -5,7 +5,7 @@
|
|||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#define __bswap_16 _byteswap_ushort
|
#define __bswap_16 _byteswap_ushort
|
||||||
#define __bswap_32 _byteswap_ulong
|
#define __bswap_32 _byteswap_ulong
|
||||||
#elif __APPLE__
|
#elif defined(__APPLE__)
|
||||||
#include <libkern/OSByteOrder.h>
|
#include <libkern/OSByteOrder.h>
|
||||||
#define __bswap_16 OSSwapInt16
|
#define __bswap_16 OSSwapInt16
|
||||||
#define __bswap_32 OSSwapInt32
|
#define __bswap_32 OSSwapInt32
|
||||||
|
Loading…
x
Reference in New Issue
Block a user