mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
No more system.h include in client.m
This commit is contained in:
parent
3c597aff95
commit
a1fc561434
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue