From f52c3e5a83eac17583b26356a97d14ba2ae6ad30 Mon Sep 17 00:00:00 2001 From: Dhilan007 Date: Thu, 13 Nov 2014 22:02:28 +0800 Subject: [PATCH] Remove unneeded include in AudioEngine.h --- cocos/audio/AudioEngine.cpp | 4 ++++ cocos/audio/include/AudioEngine.h | 6 ++++-- 2 files changed, 8 insertions(+), 2 deletions(-) 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