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:03:48 +0000 (10:03 -0400)
commit13bf2f5734e6cab159fe7f9b8fcca175aa5f0e81
treed19bfa12a803ea219f1cdf9faba3e1199a8ed33f
parent713234991cce999c376345400f9367f1e2317076
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.025176 seconds and 4 git commands to generate.