From 052a2b2479cc450e415e96d88423f7a29b7778e7 Mon Sep 17 00:00:00 2001 From: Mircho Rodozov <mrodozov@cern.ch> Date: Fri, 5 Apr 2019 14:19:33 +0200 Subject: [PATCH] Update macros check for powerpc We currently apply a patch https://github.com/cms-sw/cmsdist/blob/c1e2d7ab02f957e01e7325ecf1259eb8f06b0e8d/dd4hep-add-ppc64-macro-check.patch so that we get into that condition and include that header when building on ppc64. So if it's reasonable I propose to get this in --- DDCore/src/Primitives.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DDCore/src/Primitives.cpp b/DDCore/src/Primitives.cpp index b31962414..bafb16a51 100644 --- a/DDCore/src/Primitives.cpp +++ b/DDCore/src/Primitives.cpp @@ -25,7 +25,7 @@ #include <cstring> #include <map> -#if defined(__linux) || defined(__APPLE__) +#if defined(__linux) || defined(__APPLE__) || defined(__powerpc64__) #include <cxxabi.h> #ifndef __APPLE__ typedef abi::__class_type_info class_t; -- GitLab