No more system.h include in client.m

This commit is contained in:
Dennis Felsing 2022-05-18 18:58:31 +02:00
parent 3c597aff95
commit a1fc561434

View file

@ -1,11 +1,10 @@
#import <Cocoa/Cocoa.h>
#include <base/system.h>
extern int TWMain(int argc, const char **argv);
int main(int argc, const char **argv)
{
BOOL FinderLaunch = argc >= 2 && !str_comp_num(argv[1], "-psn", 4);
BOOL FinderLaunch = argc >= 2 && !strncmp(argv[1], "-psn", 4);
NSString *resourcePath = [[NSBundle mainBundle] resourcePath];
if(!resourcePath)