diff options
author | Diego Nehab <diego@impa.br> | 2013-05-30 16:20:34 +0800 |
---|---|---|
committer | Diego Nehab <diego@impa.br> | 2013-05-30 16:20:34 +0800 |
commit | a233e27865d96566a6cb13960d08605ce34d9f0d (patch) | |
tree | 6ef3219bec0c29bbb14ce92b5c2f4dc46b42dbc6 /src/unix.c | |
parent | 5341131cd07bf4f66ce242980b5f3cfbbf45ea12 (diff) | |
download | luasocket-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.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |