summaryrefslogtreecommitdiff
path: root/src/common/atomic.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2020-06-28 16:44:57 +0200
committerGitHub <noreply@github.com>2020-06-28 16:44:57 +0200
commit44e53924b3db97b515f9a2e032580be0d5ed433c (patch)
tree75457e95ce923ea8a39250dcb79885b1de58eba9 /src/common/atomic.h
parent8fdc97b3d38d938a610795b8477c2d49deea0f5c (diff)
parente3e1acb092a5ba8ddc4dcb116ec4bcf7686e140d (diff)
downloadhercules-44e53924b3db97b515f9a2e032580be0d5ed433c.tar.gz
hercules-44e53924b3db97b515f9a2e032580be0d5ed433c.tar.bz2
hercules-44e53924b3db97b515f9a2e032580be0d5ed433c.tar.xz
hercules-44e53924b3db97b515f9a2e032580be0d5ed433c.zip
Merge pull request #2778 from 4144/extendci
Extend ci with more checks and add different fixes
Diffstat (limited to 'src/common/atomic.h')
-rw-r--r--src/common/atomic.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/atomic.h b/src/common/atomic.h
index 518d2e6ab..b9157373f 100644
--- a/src/common/atomic.h
+++ b/src/common/atomic.h
@@ -103,8 +103,9 @@ forceinline volatile int64 InterlockedExchange64(volatile int64 *target, int64 v
// The __sync functions are available on x86 or ARMv6+
#if !defined(__x86_64__) && !defined(__i386__) \
+ && !defined(__ppc64__) && ! defined(__powerpc64__) \
&& ( !defined(__ARM_ARCH_VERSION__) || __ARM_ARCH_VERSION__ < 6 )
-#error Your Target Platfrom is not supported
+#error Target platform currently not supported
#endif
static forceinline int64 InterlockedExchangeAdd64(volatile int64 *addend, int64 increment){