aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp
diff options
context:
space:
mode:
authorgluk47 <gluk47@yandex-team.com>2023-06-22 21:29:23 +0300
committergluk47 <gluk47@yandex-team.com>2023-06-22 21:29:23 +0300
commitf884329f81cf559a1a174b30d57fa6c4adffef76 (patch)
tree10c0da708571b15dc8767b78b3d6954353e7143a /library/cpp
parentbb8c46e49183081b19bf22eb2163479b44ee05d0 (diff)
downloadydb-f884329f81cf559a1a174b30d57fa6c4adffef76.tar.gz
[begemot] arm32 support: enable atomic instrinsics /
Diffstat (limited to 'library/cpp')
-rw-r--r--library/cpp/threading/light_rw_lock/lightrwlock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/cpp/threading/light_rw_lock/lightrwlock.h b/library/cpp/threading/light_rw_lock/lightrwlock.h
index 931a1817bc..bfe4e9b00c 100644
--- a/library/cpp/threading/light_rw_lock/lightrwlock.h
+++ b/library/cpp/threading/light_rw_lock/lightrwlock.h
@@ -85,7 +85,7 @@ namespace NS_LightRWLock {
}
#endif
-#if defined(_x86_64_) || defined(_i386_) || defined (__aarch64__) || defined (__powerpc64__)
+#if defined(_x86_64_) || defined(_i386_) || defined (__aarch64__) || defined (__arm__) || defined (__powerpc64__)
static bool AtomicLockHighByte(volatile int& item) {
union TA {
int x;