mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-22 02:44:38 +00:00
Show BSD OSes in frontend OS info
This commit is contained in:
parent
9f336b705a
commit
03970ddacd
@ -1216,8 +1216,20 @@ static void frontend_unix_get_os(char *s,
|
||||
return;
|
||||
|
||||
sscanf(buffer.release, "%d.%d.%u", major, minor, &krel);
|
||||
#if defined(__FreeBSD__)
|
||||
strlcpy(s, "FreeBSD", len);
|
||||
#elif defined(__NetBSD__)
|
||||
strlcpy(s, "NetBSD", len);
|
||||
#elif defined(__OpenBSD__)
|
||||
strlcpy(s, "OpenBSD", len);
|
||||
#elif defined(__DragonFly__)
|
||||
strlcpy(s, "DragonFly BSD", len);
|
||||
#elif defined(BSD)
|
||||
strlcpy(s, "BSD", len);
|
||||
#else
|
||||
strlcpy(s, "Linux", len);
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef HAVE_LAKKA
|
||||
|
Loading…
x
Reference in New Issue
Block a user