1
0
mirror of synced 2024-11-28 09:30:51 +01:00

build: Fix some more ObjC issues

This commit is contained in:
WerWolv 2023-01-04 14:55:58 +01:00
parent e6d14507e2
commit 45bb9e6706
2 changed files with 3 additions and 3 deletions

View File

@ -41,4 +41,4 @@
free(ptr);
}
#endif
#endif

View File

@ -15,7 +15,7 @@
CFRelease(urlRef);
}
bool isMacosSystemDarkModeEnabled() {
bool isMacosSystemDarkModeEnabled(void) {
NSString * appleInterfaceStyle = [[NSUserDefaults standardUserDefaults] stringForKey:@"AppleInterfaceStyle"];
if (appleInterfaceStyle && [appleInterfaceStyle length] > 0) {
@ -25,4 +25,4 @@
}
}
#endif
#endif