diff options
author | Undefine <undefine@undefine.pl> | 2022-12-09 12:59:04 +0100 |
---|---|---|
committer | Sam Atkins <atkinssj@gmail.com> | 2022-12-09 12:08:05 +0000 |
commit | e0a904c8524bb3cbf43f5dae881dd2a986870f99 (patch) | |
tree | df2e68349d452b696d351e2924d2997befee11b1 /Userland/Libraries/LibWeb/Loader | |
parent | 2e1113cb882fa2b13dfabf2d2b0b528cd51e78d4 (diff) | |
download | serenity-e0a904c8524bb3cbf43f5dae881dd2a986870f99.zip |
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.
Diffstat (limited to 'Userland/Libraries/LibWeb/Loader')
-rw-r--r-- | Userland/Libraries/LibWeb/Loader/ResourceLoader.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/Loader/ResourceLoader.h b/Userland/Libraries/LibWeb/Loader/ResourceLoader.h index fa90959f7b..be9f7d0c39 100644 --- a/Userland/Libraries/LibWeb/Loader/ResourceLoader.h +++ b/Userland/Libraries/LibWeb/Loader/ResourceLoader.h @@ -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 |