fixed reserved word DELETE in wp8 compiler

This commit is contained in:
Dale Stammen 2014-03-28 11:26:41 -07:00
parent 77efd401a7
commit db8efd32f7
1 changed files with 6 additions and 0 deletions

View File

@ -47,6 +47,12 @@ typedef void (cocos2d::Ref::*SEL_HttpResponse)(HttpClient* client, HttpResponse*
@since v2.0.2
*/
#if (CC_TARGET_PLATFORM == CC_PLATFORM_WP8) || (CC_TARGET_PLATFORM == CC_PLATFORM_WINRT)
#ifdef DELETE
#undef DELETE
#endif
#endif
class HttpRequest : public Ref
{
public: