mirror of https://github.com/axmolengine/axmol.git
fixed for ABSOLUTE and RELATIVE winrt compiler reserved words
This commit is contained in:
parent
50336dca40
commit
bad71e38d0
|
@ -60,6 +60,13 @@ const Margin MarginZero = Margin();
|
|||
* @js NA
|
||||
* @lua NA
|
||||
*/
|
||||
|
||||
#if (CC_TARGET_PLATFORM == CC_PLATFORM_WP8) || (CC_TARGET_PLATFORM == CC_PLATFORM_WINRT)
|
||||
#ifdef RELATIVE
|
||||
#undef RELATIVE
|
||||
#endif
|
||||
#endif
|
||||
|
||||
class LayoutParameter : public Ref
|
||||
{
|
||||
public:
|
||||
|
|
|
@ -49,6 +49,14 @@ CC_DEPRECATED_ATTRIBUTE typedef void (Ref::*SEL_TouchEvent)(Ref*,TouchEventType)
|
|||
* @js NA
|
||||
* @lua NA
|
||||
*/
|
||||
|
||||
#if (CC_TARGET_PLATFORM == CC_PLATFORM_WP8) || (CC_TARGET_PLATFORM == CC_PLATFORM_WINRT)
|
||||
#ifdef ABSOLUTE
|
||||
#undef ABSOLUTE
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
class Widget : public ProtectedNode
|
||||
{
|
||||
public:
|
||||
|
|
Loading…
Reference in New Issue