aboutsummaryrefslogtreecommitdiff
path: root/base/plugins.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/plugins.h')
-rw-r--r--base/plugins.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/base/plugins.h b/base/plugins.h
index f9a5567834..11eb4a3e3f 100644
--- a/base/plugins.h
+++ b/base/plugins.h
@@ -92,10 +92,10 @@ public:
#else
#define REGISTER_PLUGIN(ID,name) \
extern "C" { \
- const char *PLUGIN_name() { return name; } \
- GameList PLUGIN_getSupportedGames() { return Engine_##ID##_gameList(); } \
- Engine *PLUGIN_createEngine(GameDetector *detector, OSystem *syst) { return Engine_##ID##_create(detector, syst); } \
- DetectedGameList PLUGIN_detectGames(const FSList &fslist) { return Engine_##ID##_detectGames(fslist); } \
+ PLUGIN_EXPORT const char *PLUGIN_name() { return name; } \
+ PLUGIN_EXPORT GameList PLUGIN_getSupportedGames() { return Engine_##ID##_gameList(); } \
+ PLUGIN_EXPORT Engine *PLUGIN_createEngine(GameDetector *detector, OSystem *syst) { return Engine_##ID##_create(detector, syst); } \
+ PLUGIN_EXPORT DetectedGameList PLUGIN_detectGames(const FSList &fslist) { return Engine_##ID##_detectGames(fslist); } \
}
#endif