diff options
author | Jan <sentrycraft123@gmail.com> | 2024-06-28 00:39:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-28 00:39:03 +0200 |
commit | 4d8798e5ccc01d10bb7109a3ca19f4f5b54471c6 (patch) | |
tree | 80017d1bf03c5bb9b032b8ff1b5715dfbef48b39 | |
parent | f29823a0d3d934c90569e668785cd8965df7ffa4 (diff) | |
download | NorthstarLauncher-4d8798e5ccc01d10bb7109a3ca19f4f5b54471c6.tar.gz NorthstarLauncher-4d8798e5ccc01d10bb7109a3ca19f4f5b54471c6.zip |
Remove EXPORT macro from precompiled header (#738)
as its used once and does not warrant being in the precompiled header
-rw-r--r-- | primedev/pch.h | 2 | ||||
-rw-r--r-- | primedev/plugins/interfaces/interface.h | 2 |
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 |