1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-14 07:37:43 +02:00

Fixes for linking the following commits on Windows

This commit is contained in:
Paul Licameli 2021-08-04 06:56:06 -04:00
parent cea4a91108
commit d8cb4721f1
2 changed files with 3 additions and 3 deletions

View File

@ -29,7 +29,7 @@ enum class ExceptionType
/*! Objects of this type can be thrown and caught in any thread, stored, and then used by the main
thread in later idle time to explain the error condition to the user.
*/
class AudacityException /* not final */
class EXCEPTIONS_API AudacityException /* not final */
{
public:
AudacityException() {}
@ -38,7 +38,7 @@ public:
//! Action to do in the main thread at idle time of the event loop.
virtual void DelayedHandlerAction() = 0;
EXCEPTIONS_API static void EnqueueAction(
static void EnqueueAction(
std::exception_ptr pException,
std::function<void(AudacityException*)> delayedHandler);

View File

@ -200,7 +200,7 @@ protected:
};
//! This specialization of Setting for bool adds a Toggle method to negate the saved value
class BoolSetting final : public Setting< bool >
class PREFERENCES_API BoolSetting final : public Setting< bool >
{
public:
using Setting::Setting;