From bfaa5882feed801044343a48e889b8fe7dca5e3d Mon Sep 17 00:00:00 2001 From: Dale Stammen Date: Sat, 22 Mar 2014 06:09:16 -0700 Subject: [PATCH] fix for RELATIVE reserved word in wp8 compiler --- cocos/2d/CCParticleSystem.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cocos/2d/CCParticleSystem.h b/cocos/2d/CCParticleSystem.h index 74d6bab382..921a694c88 100644 --- a/cocos/2d/CCParticleSystem.h +++ b/cocos/2d/CCParticleSystem.h @@ -125,6 +125,13 @@ emitter.startSpin = 0; @endcode */ + +#if (CC_TARGET_PLATFORM == CC_PLATFORM_WP8) || (CC_TARGET_PLATFORM == CC_PLATFORM_WINRT) +#ifdef RELATIVE +#undef RELATIVE +#endif +#endif + class CC_DLL ParticleSystem : public Node, public TextureProtocol { public: