minor amend

This commit is contained in:
Cloud Wu
2015-08-27 13:49:31 +08:00
parent bb6d5d826e
commit 9b0e496afe
3 changed files with 8 additions and 6 deletions

View File

@@ -1,11 +1,10 @@
#ifndef LUA_SHORT_STRING_TABLE_H
#define LUA_SHORT_STRING_TABLE_H
#ifndef DISABLE_SHORT_STRING
#include "lstring.h"
#else
// If you use modified lua, this macro would be defined in lstring.h
#ifndef ENABLE_SHORT_STRING_TABLE
static inline int luaS_shrinfo(lua_State *L) { return 0; }
static inline void luaS_initshr() {}