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:50 +0000 (10:05 -0400)
commit81562423503c71c206a3303cf53e3b11f8ca034b
tree2251de5206554e9406464734eff69f55fbdb9a9a
parent839eaea560d6561f1cb947d959757786a54343cc
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.024547 seconds and 4 git commands to generate.