aboutsummaryrefslogtreecommitdiff
path: root/src/mpack/lmpack.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2023-04-20 14:41:47 +0200
committerbfredl <bjorn.linse@gmail.com>2023-04-20 19:00:38 +0200
commitffaf74f1477d3182ffc70bcc9913effc44c90ea7 (patch)
treea42c9984fb7564e57c79a1c47fb8f18275f614e6 /src/mpack/lmpack.c
parentdbcd1985d13b02ab7a547d0b97d4ede28fa49b96 (diff)
downloadrneovim-ffaf74f1477d3182ffc70bcc9913effc44c90ea7.tar.gz
rneovim-ffaf74f1477d3182ffc70bcc9913effc44c90ea7.tar.bz2
rneovim-ffaf74f1477d3182ffc70bcc9913effc44c90ea7.zip
fix(build): distinguish vim.mpack from global require'mpack'
problem: the api of vim.mpack is not compatible with a system provided mpack solution: don't require 'mpack' directly from the system path
Diffstat (limited to 'src/mpack/lmpack.c')
-rw-r--r--src/mpack/lmpack.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mpack/lmpack.c b/src/mpack/lmpack.c
index 8b45136cae..957bac37cc 100644
--- a/src/mpack/lmpack.c
+++ b/src/mpack/lmpack.c
@@ -1171,9 +1171,6 @@ static const luaL_reg mpack_functions[] = {
{NULL, NULL}
};
-#ifdef NLUA_WIN32
- __declspec(dllexport)
-#endif
int luaopen_mpack(lua_State *L)
{
/* Unpacker */