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: