aboutsummaryrefslogtreecommitdiff
path: root/base/plugins.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/plugins.h')
-rw-r--r--base/plugins.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/base/plugins.h b/base/plugins.h
index 678d2f5f6d..8e5efcf2ea 100644
--- a/base/plugins.h
+++ b/base/plugins.h
@@ -123,7 +123,8 @@ public:
Engine_##ID##_create, \
Engine_##ID##_detectGames \
);\
- }
+ } \
+ void dummyFuncToAllowTrailingSemicolon()
#else
#define REGISTER_PLUGIN(ID,name) \
extern "C" { \
@@ -132,7 +133,8 @@ public:
PLUGIN_EXPORT GameDescriptor PLUGIN_findGameID(const char *gameid) { return Engine_##ID##_findGameID(gameid); } \
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); } \
- }
+ } \
+ void dummyFuncToAllowTrailingSemicolon()
#endif
#ifndef DYNAMIC_MODULES