From ca83ecf1cfa7ab31483c64d47332a255dc66afa7 Mon Sep 17 00:00:00 2001
From: William Ahern <william@solaris.(none)>
Date: Wed, 27 Feb 2013 23:56:25 -0800
Subject: -n add LUA_FILEHANDLE to compat52.h

---
 compat52.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/compat52.h b/compat52.h
index eb2d903..22b1e44 100644
--- a/compat52.h
+++ b/compat52.h
@@ -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.
-- 
cgit v1.2.3-55-g6feb