From a1fc561434561435acc80f2fa8ea67e7803e7c75 Mon Sep 17 00:00:00 2001 From: Dennis Felsing Date: Wed, 18 May 2022 18:58:31 +0200 Subject: [PATCH] No more system.h include in client.m --- src/macoslaunch/client.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/macoslaunch/client.m b/src/macoslaunch/client.m index cfd62570a..73fa398cd 100644 --- a/src/macoslaunch/client.m +++ b/src/macoslaunch/client.m @@ -1,11 +1,10 @@ #import -#include 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)