~lttng/urcu/trunk

Viewing all changes in revision 1353.

  • Committer: Mathieu Desnoyers
  • Date: 2021-06-16 14:03:48 UTC
  • Revision ID: git-v1:13bf2f5734e6cab159fe7f9b8fcca175aa5f0e81
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

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: