# HG changeset patch # User Ideenmodellierer # Date 1768225756 0 # Node ID 0969ef86c42d99083654c48ce1f88abec4d05676 # Parent fc91c3e09285b25d8b829063a9a48bbb87194ad5 Use dll import/export for WIN32 only diff -r fc91c3e09285 -r 0969ef86c42d Utils/Exception.h --- a/Utils/Exception.h Sat Jan 03 20:49:43 2026 +0100 +++ b/Utils/Exception.h Mon Jan 12 13:49:16 2026 +0000 @@ -45,11 +45,16 @@ ////////////////////////////////////////////////////////////////////////////// #define BUILD_OSTC_COMPANION 1 + +#ifdef _WIN32 #if defined(BUILD_OSTC_COMPANION) # define EXPORT __declspec(dllexport) #else # define EXPORT __declspec(dllimport) #endif +#else +#define EXPORT +#endif #if 0 class EXPORT Exception