mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-20 17:58:18 +03: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: https://github.com/SerenityOS/serenity/commit/e0a904c852 Pull-request: https://github.com/SerenityOS/serenity/pull/16391 Reviewed-by: https://github.com/linusg
@ -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…
Reference in New Issue
Block a user