aboutsummaryrefslogtreecommitdiff
path: root/src/pdlua.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pdlua.c')
-rw-r--r--src/pdlua.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/pdlua.c b/src/pdlua.c
index 519cd7f..c17af72 100644
--- a/src/pdlua.c
+++ b/src/pdlua.c
@@ -1350,7 +1350,10 @@ static int pdlua_loader
}
/** Start the Lua runtime and register our loader hook. */
-EXTERN void pdlua_setup(void)
+#ifdef _WIN32
+__declspec(dllexport)
+#endif
+void pdlua_setup(void)
{
char pd_lua_path[MAXPDSTRING];
t_pdlua_readerdata reader;