un-define clash with the existing macro definition in platform/win32/CCStdC.h

This commit is contained in:
Dhilan007 2014-01-14 14:20:22 +08:00
parent a1d8e8bdb1
commit 92d345156b
8 changed files with 3 additions and 18 deletions

View File

@ -30,8 +30,6 @@ THE SOFTWARE.
#include "CCSprite.h"
#include <algorithm>
#undef min
#undef max
NS_CC_BEGIN
// implementation TMXTiledMap

View File

@ -148,5 +148,8 @@ inline errno_t strcpy_s(char *strDestination, size_t numberOfElements,
#undef DELETE
#endif
#undef min
#undef max
#endif // __CC_STD_C_H__

View File

@ -51,9 +51,6 @@
#include "CCScene.h"
#include "CCPlatformConfig.h"
#undef min
#undef max
NS_CC_BEGIN

View File

@ -27,8 +27,6 @@ THE SOFTWARE.
#include "ccMacros.h"
#include <algorithm>
#undef min
#undef max
// implementation of Point
NS_CC_BEGIN

View File

@ -39,8 +39,6 @@
#define WS_WRITE_BUFFER_SIZE 2048
#undef min
#undef max
NS_CC_BEGIN
namespace network {

View File

@ -1,8 +1,5 @@
#include "PerformanceLabelTest.h"
#undef min
#undef max
enum {
kMaxNodes = 200,
kNodesIncrease = 10,

View File

@ -1,8 +1,5 @@
#include "PerformanceSpriteTest.h"
#undef min
#undef max
enum {
kMaxNodes = 50000,
kNodesIncrease = 250,

View File

@ -3,9 +3,6 @@
#include "renderer/CCRenderer.h"
#include "renderer/CCCustomCommand.h"
#undef min
#undef max
enum
{
kTagTileMap = 1,