aboutsummaryrefslogtreecommitdiffstats
path: root/community/libluv/lua_unsigned-typedef.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/libluv/lua_unsigned-typedef.patch')
-rw-r--r--community/libluv/lua_unsigned-typedef.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/libluv/lua_unsigned-typedef.patch b/community/libluv/lua_unsigned-typedef.patch
new file mode 100644
index 0000000000..f48e7718b6
--- /dev/null
+++ b/community/libluv/lua_unsigned-typedef.patch
@@ -0,0 +1,13 @@
+diff --git a/deps/lua-compat-5.3/c-api/compat-5.3.h b/deps/lua-compat-5.3/c-api/compat-5.3.h
+index 082a6a0..a83cc5e 100644
+--- a/deps/lua-compat-5.3/c-api/compat-5.3.h
++++ b/deps/lua-compat-5.3/c-api/compat-5.3.h
+@@ -100,8 +100,6 @@ extern "C" {
+ # define LUA_ERRGCMM (LUA_ERRERR + 2)
+ #endif /* LUA_ERRGCMM define */
+
+-typedef size_t lua_Unsigned;
+-
+ typedef struct luaL_Buffer_53 {
+ luaL_Buffer b; /* make incorrect code crash! */
+ char *ptr;