separate BSDs

This commit is contained in:
dzaima 2023-08-20 19:33:11 +03:00
parent 34d4fd6433
commit 6eaa9238bc

View File

@ -1699,8 +1699,10 @@ static B getPlatformNS(void) {
char* os = "android"; char* os = "android";
#elif __linux__ #elif __linux__
char* os = "linux"; char* os = "linux";
#elif __FreeBSD__ || __OpenBSD__ #elif __FreeBSD__
char* os = "bsd"; char* os = "freebsd";
#elif __OpenBSD__
char* os = "openbsd";
#elif __APPLE__ || __MACH__ #elif __APPLE__ || __MACH__
char* os = "darwin"; char* os = "darwin";
#elif __unix || __unix__ #elif __unix || __unix__