summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergMariaDB <91733807+SergMariaDB@users.noreply.github.com>2021-10-11 08:26:33 -0400
committerGitHub <noreply@github.com>2021-10-11 15:26:33 +0300
commit5e3e5ccbea2ab90548fc82c5d730dea2c9315a16 (patch)
treee979227fead2679b6ddcb64cb70241acad1a0488
parent89936f11e965472d65fbee1e240f3d4b7726e77f (diff)
downloadmariadb-git-5e3e5ccbea2ab90548fc82c5d730dea2c9315a16.tar.gz
Apple Silicon is a 64-bit platform (#1922)
Co-authored-by: FX Coudert <fxcoudert@gmail.com>
-rw-r--r--include/my_global.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/my_global.h b/include/my_global.h
index 5e96400eac1..dba63e75097 100644
--- a/include/my_global.h
+++ b/include/my_global.h
@@ -164,7 +164,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__)
# define SIZEOF_CHARP 8
# define SIZEOF_LONG 8
# else