From ec02f7c7f9b595c8f54f9626aac84a2b83493854 Mon Sep 17 00:00:00 2001 From: beaglejoe Date: Fri, 28 Oct 2022 00:31:20 +0000 Subject: [PATCH] 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 --- src/modules/graphic/osggraph/Utils/OsgAtomic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/graphic/osggraph/Utils/OsgAtomic.h b/src/modules/graphic/osggraph/Utils/OsgAtomic.h index 816b01bbc..99af3ff94 100644 --- a/src/modules/graphic/osggraph/Utils/OsgAtomic.h +++ b/src/modules/graphic/osggraph/Utils/OsgAtomic.h @@ -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__))