提交 35e2e015 编写于 作者: Y yihaoDeng

fix compile error on windows

上级 875072a4
...@@ -168,6 +168,7 @@ IF (TD_WINDOWS) ...@@ -168,6 +168,7 @@ IF (TD_WINDOWS)
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/deps/regex) INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/deps/regex)
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/deps/wepoll/inc) INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/deps/wepoll/inc)
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/deps/MsvcLibX/include) INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/deps/MsvcLibX/include)
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/deps/lua/src)
ENDIF () ENDIF ()
IF (TD_WINDOWS_64) IF (TD_WINDOWS_64)
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
#include <stdarg.h> #include <stdarg.h>
#include <stdint.h>
#include "llimits.h" #include "llimits.h"
#include "lua.h" #include "lua.h"
...@@ -357,7 +357,7 @@ typedef struct Table { ...@@ -357,7 +357,7 @@ typedef struct Table {
#define twoto(x) (1<<(x)) #define twoto(x) (1<<(x))
#define sizenode(t) (twoto((t)->lsizenode)) #define sizenode(t) (twoto((int64_t)((t)->lsizenode)))
#define luaO_nilobject (&luaO_nilobject_) #define luaO_nilobject (&luaO_nilobject_)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册