about summary refs log tree commit diff stats
path: root/src/luasocket
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-11-22 19:25:05 -0800
committerKartik K. Agaram <vc@akkartik.com>2021-11-22 19:25:05 -0800
commit1bf2504a8b4221da49b6c2aaf042d7ca8af43731 (patch)
tree11bdb1736ffb5654638a7828ea32abce418f644c /src/luasocket
parent76329c0206ede0a986da423e6a813ef91334f6cd (diff)
downloadteliva-1bf2504a8b4221da49b6c2aaf042d7ca8af43731.tar.gz
clean up a warning and a bit of duplication
Now we have 2 probably-valid warnings caused by my edits, and 1
false-positive.
Diffstat (limited to 'src/luasocket')
-rw-r--r--src/luasocket/compat.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/luasocket/compat.h b/src/luasocket/compat.h
index fa2d7d7..1422728 100644
--- a/src/luasocket/compat.h
+++ b/src/luasocket/compat.h
@@ -1,8 +1,6 @@
 #ifndef COMPAT_H
 #define COMPAT_H
 
-#if LUA_VERSION_NUM==501
-
 #ifndef _WIN32
 #pragma GCC visibility push(hidden)
 #endif
@@ -18,5 +16,3 @@ void *luasocket_testudata ( lua_State *L, int arg, const char *tname);
 #define luaL_testudata luasocket_testudata
 
 #endif
-
-#endif