mirror of https://github.com/axmolengine/axmol.git
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:
parent
bffe5e09e0
commit
3dcce59e84
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue