fix macosx compile error

This commit is contained in:
patricejiang 2019-03-15 14:26:27 +08:00 committed by Arnold
parent d75c2f3c5e
commit 9f55e8ee7b
No known key found for this signature in database
GPG Key ID: 2008D1CC4BD1AE60
2 changed files with 3 additions and 0 deletions

View File

@ -37,6 +37,8 @@
#include "platform/CCFileUtils.h"
#include "base/CCConsole.h"
#include <sstream>
#if (CC_TARGET_PLATFORM == CC_PLATFORM_WIN32)
#define strcasecmp _stricmp
#endif

View File

@ -43,6 +43,7 @@ NS_CC_BEGIN
class Texture2D;
class Pass;
class MeshCommand;
using CullFaceSide = backend::CullMode;
using FrontFace = backend::Winding;