fix build on arm

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

Former-commit-id: c9bf1c98fdb213d1178304a1e8908b03142d9003
Former-commit-id: 997d14d1f5873aeec065e583c0bde6ca3cea45c7
This commit is contained in:
iobyte 2020-08-01 15:03:21 +00:00
parent 6282705114
commit b7bd7fd8a4

View file

@ -23,7 +23,7 @@
#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__))
// No need to include something. Is a Compiler API ... // No need to include something. Is a Compiler API ...
# define SDATOMIC_USE_GCC4_BUILTINS # define SDATOMIC_USE_GCC4_BUILTINS
#elif defined(__GNUC__) && defined(__i386__) #elif defined(__GNUC__) && (defined(__i386__) || defined(__arm__))
# define SDATOMIC_USE_LIBRARY_FUNCTIONS # define SDATOMIC_USE_LIBRARY_FUNCTIONS
#elif defined(__sgi) && defined(_COMPILER_VERSION) && (_COMPILER_VERSION>=730) #elif defined(__sgi) && defined(_COMPILER_VERSION) && (_COMPILER_VERSION>=730)
// No need to include something. Is a Compiler API ... // No need to include something. Is a Compiler API ...