diff --git a/cocos/audio/include/AudioMacros.h b/cocos/audio/include/AudioMacros.h index f455587f46..bdcbd40054 100644 --- a/cocos/audio/include/AudioMacros.h +++ b/cocos/audio/include/AudioMacros.h @@ -45,7 +45,7 @@ #elif CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID #include #define AUDIO_LOG(fmt, ...) __android_log_print(ANDROID_LOG_DEBUG, "AudioEngine", fmt, ##__VA_ARGS__) -#elif CC_TARGET_PLATFORM == CC_PLATFORM_IOS || CC_TARGET_PLATFORM == CC_PLATFORM_LINUX +#else // other platforms #define AUDIO_LOG(fmt,...) printf(fmt "\n", ##__VA_ARGS__) #endif