aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMartin Peach <mrpeach@users.sourceforge.net>2011-09-22 17:57:37 +0000
committerIOhannes m zmölnig <zmoelnig@iem.at>2015-10-14 14:28:31 +0200
commit571ef7da9be59610db260788ebe07bb8ec5b95fe (patch)
treed09f985c90076ef457cecbe9b794a0d81978491c /src
parentab516db4fb8c5adab4299d5b038ddff8a7f211d5 (diff)
Added the EXPORT macro to pdlua_setup so the symbol will be exported on MSWin. The export-all-symbols flag should do this but seems to be overridden by something in the lua source.
svn path=/trunk/externals/loaders/pdlua/; revision=15341
Diffstat (limited to 'src')
-rw-r--r--src/pdlua.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pdlua.c b/src/pdlua.c
index cdf9c12..42bfa9a 100644
--- a/src/pdlua.c
+++ b/src/pdlua.c
@@ -1346,8 +1346,7 @@ static int pdlua_loader
}
/** Start the Lua runtime and register our loader hook. */
-//EXPORT void lua_setup(void) {
-void pdlua_setup(void)
+EXTERN void pdlua_setup(void)
{
char buf[MAXPDSTRING];
char *ptr;