Fix: x86 and s390: uatomic __hp() macro C++ support
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 16 Jun 2021 14:03:48 +0000 (10:03 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 16 Jun 2021 14:05:57 +0000 (10:05 -0400)
commitf41d90ce6741adbb1cf8bd650106d27e5e3935b3
treee8c2f2de74973126c472248eac50887ac2e25f3a
parentdcae1b08904b12f5f91000fdba25e1aa9f3d2636
Fix: x86 and s390: uatomic __hp() macro C++ support

C++ does not allow defining types in cast. Therefore, define the types
with typedef and use them in the __hp() macro.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I92af62924f78dc6c5f7420a6376731212fbc5a20
include/urcu/uatomic/s390.h
include/urcu/uatomic/x86.h
This page took 0.025532 seconds and 4 git commands to generate.