Limit the compile error to the case where we actually define the memory barrier macro as the function
This commit is contained in:
parent
68d873f3e6
commit
16a348fb07
1 changed files with 1 additions and 1 deletions
|
@ -289,7 +289,7 @@ SDL_AtomicGetPtr(void **a)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef __thumb__
|
#if defined(__thumb__) && (defined(__ARM_ARCH_6__) || defined(__ARM_ARCH_6J__) || defined(__ARM_ARCH_6K__) || defined(__ARM_ARCH_6T2__) || defined(__ARM_ARCH_6Z__) || defined(__ARM_ARCH_6ZK__) || defined(__ARM_ARCH_5TE__))
|
||||||
#error This file should be built in arm mode so the mcr instruction is available for memory barriers
|
#error This file should be built in arm mode so the mcr instruction is available for memory barriers
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue