added CC_PLATFORM_IOS and MAC to all #pragma mark_