mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 08:02:39 +08:00
[3.0] [bugfix] ios include Endian.h (#3161)
This commit is contained in:
@@ -301,6 +301,8 @@ It should work same as apples CFSwapInt32LittleToHost(..)
|
||||
#else
|
||||
#if (CC_PLATFORM == CC_PLATFORM_MAC_OSX)
|
||||
#include <machine/endian.h>
|
||||
#elif (CC_PLATFORM == CC_PLATFORM_MAC_IOS)
|
||||
#include <Endian.h>
|
||||
#else
|
||||
#include <endian.h>
|
||||
#endif // (CC_PLATFORM == CC_PLATFORM_MAC_OSX)
|
||||
|
||||
Reference in New Issue
Block a user