diff --git a/cocos2dx/include/CCPointExtension.h b/cocos2dx/include/CCPointExtension.h index f405d401a8..73732e2449 100644 --- a/cocos2dx/include/CCPointExtension.h +++ b/cocos2dx/include/CCPointExtension.h @@ -52,7 +52,7 @@ namespace cocos2d { @return CCPoint @since v0.7.2 */ -#define ccp(__X__,__Y__) CCPointMake((float)__X__, (float)__Y__) +#define ccp(__X__,__Y__) cocos2d::CCPointMake((float)__X__, (float)__Y__) /** Returns opposite of point. @return CCPoint