mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-22 02:09:24 +00:00
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:
parent
2e1113cb88
commit
e0a904c852
Notes:
sideshowbarker
2024-07-17 03:35:59 +09:00
Author: https://github.com/cqundefine
Commit: e0a904c852
Pull-request: https://github.com/SerenityOS/serenity/pull/16391
Reviewed-by: https://github.com/linusg
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue