From: Mathieu Desnoyers Date: Wed, 16 Jun 2021 14:03:48 +0000 (-0400) Subject: Fix: x86 and s390: uatomic __hp() macro C++ support X-Git-Tag: v0.11.4~3 X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;h=f41d90ce6741adbb1cf8bd650106d27e5e3935b3;hp=f41d90ce6741adbb1cf8bd650106d27e5e3935b3;p=urcu.git 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 Change-Id: I92af62924f78dc6c5f7420a6376731212fbc5a20 ---