aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--primedev/pch.h2
-rw-r--r--primedev/plugins/interfaces/interface.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/primedev/pch.h b/primedev/pch.h
index 577f803c..0b2d4406 100644
--- a/primedev/pch.h
+++ b/primedev/pch.h
@@ -20,8 +20,6 @@
namespace fs = std::filesystem;
-#define EXPORT extern "C" __declspec(dllexport)
-
typedef void (*callable)();
typedef void (*callable_v)(void* v);
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