diff options
author | William Ahern <william@solaris.(none)> | 2013-02-27 23:56:25 -0800 |
---|---|---|
committer | William Ahern <william@solaris.(none)> | 2013-02-27 23:56:25 -0800 |
commit | ca83ecf1cfa7ab31483c64d47332a255dc66afa7 (patch) | |
tree | 450c677b5e9e72dea210c787b3b2a2824e2cbebb /compat52.h | |
parent | 5443928c5a8bf9f4dbbde0a50b17d81ca6cc4eb0 (diff) | |
download | luaossl-ca83ecf1cfa7ab31483c64d47332a255dc66afa7.tar.gz luaossl-ca83ecf1cfa7ab31483c64d47332a255dc66afa7.tar.bz2 luaossl-ca83ecf1cfa7ab31483c64d47332a255dc66afa7.zip |
-n
add LUA_FILEHANDLE to compat52.h
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 +#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. |