mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
22 lines
692 B
Diff
22 lines
692 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Ali Mohammad Pur <ali.mpfard@gmail.com>
|
|
Date: Thu, 24 Feb 2022 01:50:40 +0330
|
|
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 e9d1d42..8e48b66 100644
|
|
--- a/include/private/gcconfig.h
|
|
+++ b/include/private/gcconfig.h
|
|
@@ -358,6 +358,8 @@ EXTERN_C_BEGIN
|
|
# define I386
|
|
# elif defined(__x86_64__)
|
|
# define X86_64
|
|
+# else
|
|
+# error "Invalid arch for serenity"
|
|
# endif
|
|
#endif
|
|
# if defined(__HAIKU__) && (defined(__amd64__) || defined(__x86_64__))
|