mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 01:20:25 +00:00
22 lines
686 B
Diff
22 lines
686 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Ali Mohammad Pur <ali.mpfard@gmail.com>
|
|
Date: Mon, 27 Mar 2023 20:04:41 +1100
|
|
Subject: [PATCH] Error on unknown arch
|
|
|
|
---
|
|
include/private/gcconfig.h | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/include/private/gcconfig.h b/include/private/gcconfig.h
|
|
index 2126a12..7b8b86f 100644
|
|
--- a/include/private/gcconfig.h
|
|
+++ b/include/private/gcconfig.h
|
|
@@ -344,6 +344,8 @@ EXTERN_C_BEGIN
|
|
# define I386
|
|
# elif defined(__x86_64__)
|
|
# define X86_64
|
|
+# else
|
|
+# error "Invalid arch for serenity"
|
|
# endif
|
|
#endif
|
|
# if (defined(__BEOS__) || defined(__HAIKU__)) && defined(_X86_)
|