1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:07:35 +00:00

AK: Add AK_OS_GNU_HURD :^)

This is defined when building on GNU/Hurd, the GNU operating system with
the Hurd as its kernel (as it was designed originally, before Linux and
GNU/Linux came to be).

Also, define the corresponding part of User-Agent.
This commit is contained in:
Sergey Bugaev 2023-09-03 22:20:58 +03:00 committed by Andrew Kaster
parent e6cf125535
commit 79431b32b2
2 changed files with 6 additions and 0 deletions

View file

@ -44,6 +44,8 @@ namespace Web {
# define OS_STRING "DragonFly"
#elif defined(AK_OS_SOLARIS)
# define OS_STRING "SunOS"
#elif defined(AK_OS_GNU_HURD)
# define OS_STRING "GNU/Hurd"
#else
# error Unknown OS
#endif