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:36 +0000 (10:05 -0400)
commite344a57787d785efae2670be15bc519c7d794f1f
treed19bfa12a803ea219f1cdf9faba3e1199a8ed33f
parent575b4c6c906186fa101087d5e83477a3f13bc3fb
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.025173 seconds and 4 git commands to generate.