summaryrefslogtreecommitdiff
path: root/plugins/MirLua/Modules/m_variables/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirLua/Modules/m_variables/src/main.cpp')
-rw-r--r--plugins/MirLua/Modules/m_variables/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirLua/Modules/m_variables/src/main.cpp b/plugins/MirLua/Modules/m_variables/src/main.cpp
index 1fb6dd29bb..8eac605407 100644
--- a/plugins/MirLua/Modules/m_variables/src/main.cpp
+++ b/plugins/MirLua/Modules/m_variables/src/main.cpp
@@ -24,7 +24,7 @@ static luaL_Reg variablesApi[] =
{ NULL, NULL }
};
-LUAMOD_API int luaopen_m_variables(lua_State *L)
+extern "C" LUAMOD_API int luaopen_m_variables(lua_State *L)
{
luaL_newlib(L, variablesApi);