build: Fix some more ObjC issues
This commit is contained in:
parent
e6d14507e2
commit
45bb9e6706
@ -41,4 +41,4 @@
|
||||
free(ptr);
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user