aboutsummaryrefslogtreecommitdiff
path: root/src/luasocket.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/luasocket.h')
-rw-r--r--src/luasocket.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/luasocket.h b/src/luasocket.h
index 3949421..608ff7b 100644
--- a/src/luasocket.h
+++ b/src/luasocket.h
@@ -11,7 +11,7 @@
11/*-------------------------------------------------------------------------*\ 11/*-------------------------------------------------------------------------*\
12* Current socket library version 12* Current socket library version
13\*-------------------------------------------------------------------------*/ 13\*-------------------------------------------------------------------------*/
14#define LUASOCKET_VERSION "LuaSocket 2.1.0" 14#define LUASOCKET_VERSION "LuaSocket 2.1.1"
15#define LUASOCKET_COPYRIGHT "Copyright (C) 1999-2011 Diego Nehab" 15#define LUASOCKET_COPYRIGHT "Copyright (C) 1999-2011 Diego Nehab"
16#define LUASOCKET_AUTHORS "Diego Nehab" 16#define LUASOCKET_AUTHORS "Diego Nehab"
17 17
@@ -22,6 +22,10 @@
22#define LUASOCKET_API extern 22#define LUASOCKET_API extern
23#endif 23#endif
24 24
25#if LUA_VERSION_NUM > 501 & !( defined LUA_COMPAT_MODULE)
26# error Lua 5.2 requires LUA_COMPAT_MODULE defined for luaL_openlib
27#endif
28
25/*-------------------------------------------------------------------------*\ 29/*-------------------------------------------------------------------------*\
26* Initializes the library. 30* Initializes the library.
27\*-------------------------------------------------------------------------*/ 31\*-------------------------------------------------------------------------*/