# HG changeset patch # User daedric # Date 1271083112 -7200 # Node ID 590263f68bd8a620b432419cfb8a2ee0ce29571e # Parent 62d1c77ddc131cb58cf2da0578890ce1cd52f040 Add windows mangling of prototype of the entry point diff -r 62d1c77ddc13 -r 590263f68bd8 include/IModule.hpp --- a/include/IModule.hpp Fri Apr 09 23:08:27 2010 +0200 +++ b/include/IModule.hpp Mon Apr 12 16:38:32 2010 +0200 @@ -82,7 +82,14 @@ * * @see IModule */ - IModule * ziaGetModuleInstance(void); +#if WIN32 + __declspec(dllexport) +#endif + zia::api::IModule* +#if WIN32 + __cdecl +#endif + ziaGetModuleInstance(void); } }; };