summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Ahern <william@solaris.(none)>2013-02-28 00:03:17 -0800
committerWilliam Ahern <william@solaris.(none)>2013-02-28 00:03:17 -0800
commit86c0d06ca02033efe9be6c0736ec5ebd7fe77c2d (patch)
treef45bc0ce9ca1e692c654bc8b430a762fc7043651
parentca83ecf1cfa7ab31483c64d47332a255dc66afa7 (diff)
downloadluaossl-86c0d06ca02033efe9be6c0736ec5ebd7fe77c2d.tar.gz
luaossl-86c0d06ca02033efe9be6c0736ec5ebd7fe77c2d.tar.bz2
luaossl-86c0d06ca02033efe9be6c0736ec5ebd7fe77c2d.zip
-n
our local LuaJIT headers bad; LUA_FILEHANDLE should always exist
-rw-r--r--compat52.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/compat52.h b/compat52.h
index 22b1e44..eb2d903 100644
--- a/compat52.h
+++ b/compat52.h
@@ -133,10 +133,6 @@ static lua_Unsigned luaL_optunsigned(lua_State *L, int arg, lua_Unsigned def) {
133} /* luaL_optunsigned() */ 133} /* luaL_optunsigned() */
134 134
135 135
136#ifndef LUA_FILEHANDLE
137#define LUA_FILEHANDLE "FILE*"
138#endif
139
140/* 136/*
141 * Lua 5.1 userdata is a simple FILE *, while LuaJIT is a struct with the 137 * Lua 5.1 userdata is a simple FILE *, while LuaJIT is a struct with the
142 * first member a FILE *, similar to Lua 5.2. 138 * first member a FILE *, similar to Lua 5.2.