diff --git a/cocos/base/ccMacros.h b/cocos/base/ccMacros.h index 6475f0abab..3a5352f023 100644 --- a/cocos/base/ccMacros.h +++ b/cocos/base/ccMacros.h @@ -296,6 +296,9 @@ CC_ASSERT(__gl_error_code == GL_NO_ERROR, "Error"); \ #endif #else #include + #if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID) + #include + #endif // CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID #if ((defined(__LITTLE_ENDIAN__) && !defined(__BIG_ENDIAN__)) || \ (defined(__BYTE_ORDER) && __BYTE_ORDER == __LITTLE_ENDIAN)) #define CC_LITTLE_ENDIAN 1