Fix build on 64-bit arm

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8612 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: d92733cad0308987d804111703f6d064d5ae8fca
Former-commit-id: 294b33bac1d6066ccb17908d021f63e811419e0a
This commit is contained in:
beaglejoe 2022-10-28 00:31:20 +00:00
parent 0178cdfc23
commit ec02f7c7f9

View file

@ -20,7 +20,7 @@
#ifndef OsgAtomic_H
#define OsgAtomic_H
#if defined(__GNUC__) && ((4 < __GNUC__)||(4 == __GNUC__ && 1 <= __GNUC_MINOR__)) && (defined(__x86_64__) || defined(__powerpc64__))
#if defined(__GNUC__) && ((4 < __GNUC__)||(4 == __GNUC__ && 1 <= __GNUC_MINOR__)) && (defined(__x86_64__) || defined(__powerpc64__) || defined(__aarch64__))
// No need to include something. Is a Compiler API ...
# define SDATOMIC_USE_GCC4_BUILTINS
#elif defined(__GNUC__) && (defined(__i386__) || defined(__arm__))