Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup - non-arm64 android
  • Loading branch information
lambdageek committed Oct 6, 2023
commit d268043107bc2cf813d9e0ea04653535c01e4fc1
4 changes: 4 additions & 0 deletions src/mono/mono/utils/atomic.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ Apple targets have historically being problematic, xcode 4.6 would miscompile th
/* on Android-armv7 ATOMIC_INT_LOCK_FREE == 1, not 2 */
# if defined(HOST_ARM64)
# define MONO_USE_C11_ATOMIC 1
# elif defined(USE_GCC_ATOMIC_OPS)
# define MONO_USE_GCC_ATOMIC 1
# else
# define MONO_USE_EMULATED_ATOMIC 1
# endif
#elif defined(HOST_LINUX)
/* FIXME: probably need arch checks */
Expand Down