summaryrefslogtreecommitdiff
path: root/include/services.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/services.h')
-rw-r--r--include/services.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/services.h b/include/services.h
index 347e48d3d..f1113fbfc 100644
--- a/include/services.h
+++ b/include/services.h
@@ -189,7 +189,7 @@ extern int strncasecmp(const char *, const char *, size_t);
*/
#ifdef _WIN32
#define MODULE_INIT(y) \
- extern "C" DllExport Module *init_module(const std::string &creator) \
+ extern "C" DllExport Module *init_module(const std::string &modname, const std::string &creator) \
{ \
return new y(creator); \
} \
@@ -205,7 +205,7 @@ extern int strncasecmp(const char *, const char *, size_t);
}
#else
#define MODULE_INIT(y) \
- extern "C" DllExport Module *init_module(const std::string &creator) \
+ extern "C" DllExport Module *init_module(const std::string &modname, const std::string &creator) \
{ \
return new y(creator); \
}