LibWeb: Display DragonFly in the user agent string

Previously when build for DragonFly BSD we would error out with
unknown os error. Now we just define OS_STRING as DragonFly.
This commit is contained in:
Undefine 2022-12-09 12:59:04 +01:00 committed by Sam Atkins
parent 2e1113cb88
commit e0a904c852
Notes: sideshowbarker 2024-07-17 03:35:59 +09:00

View File

@ -40,6 +40,8 @@ namespace Web {
# define OS_STRING "OpenBSD"
#elif defined(AK_OS_NETBSD)
# define OS_STRING "NetBSD"
#elif defined(AK_OS_DRAGONFLY)
# define OS_STRING "DragonFly"
#else
# error Unknown OS
#endif