Fix error with CC_ENABLE_SCRIPT_BINDING=0

There are too much compile error if I set EE_ENABLE_SCRIPT_BINDING=0.

CCEventTouch and CCTouch related things...
This is temporary fix... Many source/header files must be patched for
the right way..
This commit is contained in:
cpascal 2014-11-06 07:20:41 +09:00
parent bffe5e09e0
commit 3dcce59e84
1 changed files with 2 additions and 2 deletions

View File

@ -27,8 +27,6 @@
#define __SCRIPT_SUPPORT_H__
#include "base/ccConfig.h"
#if CC_ENABLE_SCRIPT_BINDING
#include "platform/CCCommon.h"
#include "base/CCTouch.h"
#include "base/CCEventTouch.h"
@ -37,6 +35,8 @@
#include <string>
#include <list>
#if CC_ENABLE_SCRIPT_BINDING
typedef struct lua_State lua_State;
NS_CC_BEGIN