diff --git a/native/cocos/audio/apple/AudioPlayer.mm b/native/cocos/audio/apple/AudioPlayer.mm index 88e08d1b1f..1d5df65e60 100644 --- a/native/cocos/audio/apple/AudioPlayer.mm +++ b/native/cocos/audio/apple/AudioPlayer.mm @@ -100,7 +100,7 @@ of this software and associated engine source code (the "Software"), a limited, _rotateBufferThread = nullptr; ALOGVV("rotateBufferThread exited!"); -#if CC_TARGET_PLATFORM == CC_PLATFORM_IOS +#if CC_PLATFORM == CC_PLATFORM_IOS // some specific OpenAL implement defects existed on iOS platform // refer to: https://github.com/cocos2d/cocos2d-x/issues/18597 ALint sourceState;