aboutsummaryrefslogtreecommitdiff
path: root/src/mpack
diff options
context:
space:
mode:
Diffstat (limited to 'src/mpack')
-rw-r--r--src/mpack/lmpack.c3
-rw-r--r--src/mpack/lmpack.h3
2 files changed, 0 insertions, 6 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 */
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);