aboutsummaryrefslogtreecommitdiff
path: root/src/mpack/lmpack.h
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.h
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.h')
-rw-r--r--src/mpack/lmpack.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mpack/lmpack.h b/src/mpack/lmpack.h
index 84f786cc8f..e35f40fab6 100644
--- a/src/mpack/lmpack.h
+++ b/src/mpack/lmpack.h
@@ -1,6 +1,3 @@
#include <lua.h>
-#ifdef NLUA_WIN32
- __declspec(dllexport)
-#endif
int luaopen_mpack(lua_State *L);