diff options
author | bfredl <bjorn.linse@gmail.com> | 2023-04-15 12:23:45 +0200 |
---|---|---|
committer | bfredl <bjorn.linse@gmail.com> | 2023-04-19 10:44:25 +0200 |
commit | 1e60e8c0406f6b4b51c51abb5f53e25bd52fee5e (patch) | |
tree | 128b74d8aad120155ab6bbae0200a3221f18dc92 /src/mpack | |
parent | cff02e993d920fa4bf0b5dc8b8f12d979850f049 (diff) | |
download | rneovim-1e60e8c0406f6b4b51c51abb5f53e25bd52fee5e.tar.gz rneovim-1e60e8c0406f6b4b51c51abb5f53e25bd52fee5e.tar.bz2 rneovim-1e60e8c0406f6b4b51c51abb5f53e25bd52fee5e.zip |
refactor(build): use vendored versions of mpack and luabitop
Diffstat (limited to 'src/mpack')
-rw-r--r-- | src/mpack/lmpack.c | 3 | ||||
-rw-r--r-- | src/mpack/lmpack.h | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/mpack/lmpack.c b/src/mpack/lmpack.c index 957bac37cc..8b45136cae 100644 --- a/src/mpack/lmpack.c +++ b/src/mpack/lmpack.c @@ -1171,6 +1171,9 @@ static const luaL_reg mpack_functions[] = { {NULL, NULL} }; +#ifdef NLUA_WIN32 + __declspec(dllexport) +#endif int luaopen_mpack(lua_State *L) { /* Unpacker */ diff --git a/src/mpack/lmpack.h b/src/mpack/lmpack.h index e35f40fab6..84f786cc8f 100644 --- a/src/mpack/lmpack.h +++ b/src/mpack/lmpack.h @@ -1,3 +1,6 @@ #include <lua.h> +#ifdef NLUA_WIN32 + __declspec(dllexport) +#endif int luaopen_mpack(lua_State *L); |