issue #2430: [Win32] Undefine the macro RELATIVE since it was conflicted with CCBReader::SizeType::RELATIVE and CCBReader::ScaleType::RELATIVE.

This commit is contained in:
James Chen 2013-07-27 23:20:00 +08:00
parent 584402984b
commit b7afc9db43
1 changed files with 5 additions and 0 deletions

View File

@ -109,6 +109,11 @@ NS_CC_END
#undef RELATIVE
#endif
// Conflicted with CCBReader::SizeType::RELATIVE and CCBReader::ScaleType::RELATIVE, so we need to undef it.
#ifdef ABSOLUTE
#undef ABSOLUTE
#endif
// Conflicted with HttpRequest::Type::DELETE, so we need to undef it.
#ifdef DELETE
#undef DELETE