From 4d8798e5ccc01d10bb7109a3ca19f4f5b54471c6 Mon Sep 17 00:00:00 2001 From: Jan Date: Fri, 28 Jun 2024 00:39:03 +0200 Subject: Remove EXPORT macro from precompiled header (#738) as its used once and does not warrant being in the precompiled header --- primedev/plugins/interfaces/interface.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'primedev/plugins/interfaces') 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 -- cgit v1.2.3