fix: Building on macOS

This commit is contained in:
WerWolv
2023-02-08 13:51:56 +01:00
parent 235a64deef
commit dd87dc7046
3 changed files with 12 additions and 8 deletions

View File

@@ -2,9 +2,12 @@
#if defined(OS_MACOS)
#include <string>
extern "C" {
extern "C" void openWebpageMacos(const char *url);
extern "C" bool isMacosSystemDarkModeEnabled();
void openWebpageMacos(const char *url);
bool isMacosSystemDarkModeEnabled();
float getBackingScaleFactorMacos();
}
#endif