aboutsummaryrefslogtreecommitdiff
path: root/primedev/plugins/interfaces/interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'primedev/plugins/interfaces/interface.h')
-rw-r--r--primedev/plugins/interfaces/interface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/primedev/plugins/interfaces/interface.h b/primedev/plugins/interfaces/interface.h
index 440db5b2..c4f8b6ae 100644
--- a/primedev/plugins/interfaces/interface.h
+++ b/primedev/plugins/interfaces/interface.h
@@ -34,6 +34,6 @@ public:
static className __g_##className##_singleton; \
EXPOSE_SINGLE_INTERFACE_GLOBALVAR(className, interfaceName, versionName, __g_##className##_singleton)
-EXPORT void* CreateInterface(const char* pName, InterfaceStatus* pReturnCode);
+extern "C" __declspec(dllexport) void* CreateInterface(const char* pName, InterfaceStatus* pReturnCode);
#endif