aboutsummaryrefslogtreecommitdiff
path: root/src/mpack/lmpack.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mpack/lmpack.c')
-rw-r--r--src/mpack/lmpack.c3
1 files changed, 3 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 */