aboutsummaryrefslogtreecommitdiff
path: root/src/unix.c
diff options
context:
space:
mode:
authorDiego Nehab <diego@impa.br>2013-05-30 16:20:34 +0800
committerDiego Nehab <diego@impa.br>2013-05-30 16:20:34 +0800
commita233e27865d96566a6cb13960d08605ce34d9f0d (patch)
tree6ef3219bec0c29bbb14ce92b5c2f4dc46b42dbc6 /src/unix.c
parent5341131cd07bf4f66ce242980b5f3cfbbf45ea12 (diff)
downloadluasocket-a233e27865d96566a6cb13960d08605ce34d9f0d.tar.gz
luasocket-a233e27865d96566a6cb13960d08605ce34d9f0d.tar.bz2
luasocket-a233e27865d96566a6cb13960d08605ce34d9f0d.zip
Leaving if in src/ but out of build for now.
Diffstat (limited to 'src/unix.c')
-rw-r--r--src/unix.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/unix.c b/src/unix.c
index 5710c27..91aaaf8 100644
--- a/src/unix.c
+++ b/src/unix.c
@@ -91,6 +91,7 @@ int luaopen_socket_unix(lua_State *L) {
91 auxiliar_add2group(L, "unix{server}", "unix{any}"); 91 auxiliar_add2group(L, "unix{server}", "unix{any}");
92#if LUA_VERSION_NUM > 501 && !defined(LUA_COMPAT_MODULE) 92#if LUA_VERSION_NUM > 501 && !defined(LUA_COMPAT_MODULE)
93 lua_pushcfunction(L, global_create); 93 lua_pushcfunction(L, global_create);
94 (void) func;
94#else 95#else
95 /* set function into socket namespace */ 96 /* set function into socket namespace */
96 luaL_openlib(L, "socket", func, 0); 97 luaL_openlib(L, "socket", func, 0);