[utils] Make sure we include WRAP_ATOMIC_INTRINSIC if needed
authorVlad Brezae <brezaevlad@gmail.com>
Tue, 14 Jan 2020 14:13:27 +0000 (16:13 +0200)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Tue, 14 Jan 2020 21:03:48 +0000 (22:03 +0100)
commit0f4241aa9f9b43c402f1c7bb7bda54f66a8c69e3
tree6149c888d8dd741badf6ea2dfb70ecdb10f99c76
parent0bc8ba92832d263ce3927362463e9b1e86534294
[utils] Make sure we include WRAP_ATOMIC_INTRINSIC if needed

Currently, this doesn't impact any targets, but do it for consistency.

Fixes https://github.com/mono/mono/issues/10651

Commit migrated from https://github.com/mono/mono/commit/fef06df53729a7e0159660494b0ecc1c5b3fe0c7
src/mono/mono/utils/atomic.c