mirror of
https://github.com/lunarmodules/luasocket.git
synced 2024-12-26 04:28:20 +01:00
Simple patch for Lua 5.3
This commit is contained in:
parent
5edf093643
commit
11aaf3434d
@ -7,7 +7,9 @@
|
||||
* 9/11/1999
|
||||
\*=========================================================================*/
|
||||
#include "lua.h"
|
||||
|
||||
#ifndef luaL_checkint
|
||||
#define luaL_checkint (int)luaL_checkinteger
|
||||
#endif
|
||||
/*-------------------------------------------------------------------------*\
|
||||
* Current socket library version
|
||||
\*-------------------------------------------------------------------------*/
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user