diff options
Diffstat (limited to 'module/lua/lapi.c')
-rw-r--r-- | module/lua/lapi.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/module/lua/lapi.c b/module/lua/lapi.c index cd2cc42ae..c8b49dc63 100644 --- a/module/lua/lapi.c +++ b/module/lua/lapi.c @@ -22,7 +22,6 @@ #include "lstring.h" #include "ltable.h" #include "ltm.h" -#include "lundump.h" #include "lvm.h" @@ -991,7 +990,7 @@ LUA_API int lua_load (lua_State *L, lua_Reader reader, void *data, return status; } - +#if defined(LUA_USE_DUMP) LUA_API int lua_dump (lua_State *L, lua_Writer writer, void *data) { int status; TValue *o; @@ -1005,7 +1004,7 @@ LUA_API int lua_dump (lua_State *L, lua_Writer writer, void *data) { lua_unlock(L); return status; } - +#endif LUA_API int lua_status (lua_State *L) { return L->status; |