From febafa6e82bbdc34f55b625f2e6535da1d5fda42 Mon Sep 17 00:00:00 2001 From: Nat Weiss Date: Sat, 15 Sep 2012 00:37:12 -0700 Subject: [PATCH] Fixes CCThread.cpp so it is not included for Mac builds. The Mac platform already has it's own CCThread.mm. --- cocos2dx/platform/CCThread.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cocos2dx/platform/CCThread.cpp b/cocos2dx/platform/CCThread.cpp index 7271c76ec3..b5342aa7e5 100644 --- a/cocos2dx/platform/CCThread.cpp +++ b/cocos2dx/platform/CCThread.cpp @@ -24,8 +24,8 @@ THE SOFTWARE. #include "CCThread.h" -// iOS already has a CCThread.mm -#if (CC_TARGET_PLATFORM != CC_PLATFORM_IOS) +// iOS and Mac already has a CCThread.mm +#if (CC_TARGET_PLATFORM != CC_PLATFORM_IOS && CC_TARGET_PLATFORM != CC_PLATFORM_MAC) NS_CC_BEGIN