Move settings::darkMode definition to rack.a, fixes macOS build

This commit is contained in:
falkTX 2022-07-22 15:05:24 +01:00
parent 12427f5ed7
commit 4979ef7b31
2 changed files with 2 additions and 6 deletions

View file

@ -61,11 +61,6 @@ const std::string CARDINAL_VERSION = "22.07";
namespace rack {
namespace settings {
bool darkMode = true;
int rateLimit = 0;
}
bool isStandalone()
{
return std::strstr(getPluginFormatName(), "Standalone") != nullptr;

View file

@ -23,7 +23,8 @@
namespace rack {
namespace settings {
extern bool darkMode;
bool darkMode = true;
int rateLimit = 0;
}
}