Skip to content

Instantly share code, notes, and snippets.

View tholu's full-sized avatar
🎯
Focusing

Thomas Lutz tholu

🎯
Focusing
View GitHub Profile
@tholu
tholu / mariadb-10.5.8-apple-silicon.patch
Last active February 4, 2021 14:41
Patch for MariaDB 10.5.8 for Apple Silicon
diff --git a/include/my_global.h b/include/my_global.h
index 86ef5f882f6..3502922b74b 100644
--- a/include/my_global.h
+++ b/include/my_global.h
@@ -159,7 +159,7 @@
# if defined(__i386__) || defined(__ppc__)
# define SIZEOF_CHARP 4
# define SIZEOF_LONG 4
-# elif defined(__x86_64__) || defined(__ppc64__)
+# elif defined(__x86_64__) || defined(__ppc64__) || defined(__aarch64__) || defined(__arm64__)