* CC_PLATFORM_MAC_IOS -> CC_PLATFORM_IOS * CC_PLATFORM_MAC_OSX -> CC_PLATFORM_MACOS * add codes to keep compatible