diff --git a/cocos/audio/AudioEngine.cpp b/cocos/audio/AudioEngine.cpp index 5c7e9363d1..0c5b93c2a2 100644 --- a/cocos/audio/AudioEngine.cpp +++ b/cocos/audio/AudioEngine.cpp @@ -40,6 +40,10 @@ #define TIME_DELAY_PRECISION 0.0001 +#ifdef ERROR +#undef ERROR +#endif // ERROR + using namespace cocos2d; using namespace cocos2d::experimental; diff --git a/cocos/audio/include/AudioEngine.h b/cocos/audio/include/AudioEngine.h index 5f996749fb..cd1f72e8b2 100644 --- a/cocos/audio/include/AudioEngine.h +++ b/cocos/audio/include/AudioEngine.h @@ -28,10 +28,12 @@ #ifndef __AUDIO_ENGINE_H_ #define __AUDIO_ENGINE_H_ -#include +#include +#include +#include #include -#include "2d/CCNode.h" +#include "platform/CCPlatformMacros.h" #include "Export.h" #ifdef ERROR