diff options
Diffstat (limited to 'compat52.h')
-rw-r--r-- | compat52.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -133,6 +133,10 @@ static lua_Unsigned luaL_optunsigned(lua_State *L, int arg, lua_Unsigned def) { } /* luaL_optunsigned() */ +#ifndef LUA_FILEHANDLE /* Not defined by earlier LuaJIT releases */ +#define LUA_FILEHANDLE "FILE*" +#endif + /* * Lua 5.1 userdata is a simple FILE *, while LuaJIT is a struct with the * first member a FILE *, similar to Lua 5.2. |