summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Loader
diff options
context:
space:
mode:
authorUndefine <undefine@undefine.pl>2022-07-22 20:48:24 +0200
committerBrian Gianforcaro <b.gianfo@gmail.com>2022-07-27 21:46:42 +0000
commit97cc33ca47c21f21c13d0b386511f589b25b7998 (patch)
tree4eecc8720ce2c0cb371ca44d2cbafb39d434e14d /Userland/Libraries/LibWeb/Loader
parent6c4b5775e1ac45a96d3b8c65b3e7fb93a6135d3d (diff)
downloadserenity-97cc33ca47c21f21c13d0b386511f589b25b7998.zip
Everywhere: Make the codebase more architecture aware
Diffstat (limited to 'Userland/Libraries/LibWeb/Loader')
-rw-r--r--Userland/Libraries/LibWeb/Loader/ResourceLoader.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/Loader/ResourceLoader.h b/Userland/Libraries/LibWeb/Loader/ResourceLoader.h
index a9370dc91a..40454db13c 100644
--- a/Userland/Libraries/LibWeb/Loader/ResourceLoader.h
+++ b/Userland/Libraries/LibWeb/Loader/ResourceLoader.h
@@ -20,8 +20,10 @@ namespace Web {
#if ARCH(I386)
# define CPU_STRING "x86"
-#else
+#elif ARCH(X86_64)
# define CPU_STRING "x86_64"
+#elif ARCH(AARCH64)
+# define CPU_STRING "AArch64"
#endif
constexpr auto default_user_agent = "Mozilla/5.0 (SerenityOS; " CPU_STRING ") LibWeb+LibJS/1.0 Browser/1.0";