This commit is contained in:
Andrew Starks 2017-05-17 12:20:40 +00:00 committed by GitHub
commit d89a1d6344
2 changed files with 7 additions and 1 deletions

View file

@ -7,7 +7,9 @@
* 9/11/1999
\*=========================================================================*/
#include "lua.h"
#ifndef luaL_checkint
#define luaL_checkint (int)luaL_checkinteger
#endif
/*-------------------------------------------------------------------------*\
* Current socket library version
\*-------------------------------------------------------------------------*/

View file

@ -24,6 +24,10 @@
#define MIME_API extern
#endif
#ifndef luaL_checkint
#define luaL_checkint (int)luaL_checkinteger
#endif
MIME_API int luaopen_mime_core(lua_State *L);
#endif /* MIME_H */