summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/luatexdir/luasocket/src/luasocket.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/luasocket/src/luasocket.h')
-rw-r--r--Build/source/texk/web2c/luatexdir/luasocket/src/luasocket.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/Build/source/texk/web2c/luatexdir/luasocket/src/luasocket.h b/Build/source/texk/web2c/luatexdir/luasocket/src/luasocket.h
index 67270abb937..f2ca3c159e9 100644
--- a/Build/source/texk/web2c/luatexdir/luasocket/src/luasocket.h
+++ b/Build/source/texk/web2c/luatexdir/luasocket/src/luasocket.h
@@ -5,16 +5,14 @@
* Networking support for the Lua language
* Diego Nehab
* 9/11/1999
-*
-* RCS ID: $Id: luasocket.h,v 1.25 2007/06/11 23:44:54 diego Exp $
\*=========================================================================*/
#include "lua.h"
/*-------------------------------------------------------------------------*\
* Current socket library version
\*-------------------------------------------------------------------------*/
-#define LUASOCKET_VERSION "LuaSocket 2.0.2"
-#define LUASOCKET_COPYRIGHT "Copyright (C) 2004-2007 Diego Nehab"
+#define LUASOCKET_VERSION "LuaSocket 2.1-rc1"
+#define LUASOCKET_COPYRIGHT "Copyright (C) 1999-2012 Diego Nehab"
#define LUASOCKET_AUTHORS "Diego Nehab"
/*-------------------------------------------------------------------------*\
@@ -24,6 +22,10 @@
#define LUASOCKET_API extern
#endif
+#if LUA_VERSION_NUM > 501 & !( defined LUA_COMPAT_MODULE)
+# error Lua 5.2 requires LUA_COMPAT_MODULE defined for luaL_openlib
+#endif
+
/*-------------------------------------------------------------------------*\
* Initializes the library.
\*-------------------------------------------------------------------------*/