From 221262976924ae11eb876aa18ae222dc70e030f8 Mon Sep 17 00:00:00 2001 From: David Rohr Date: Tue, 21 Jan 2025 02:12:36 +0100 Subject: [PATCH] GPU: Fix some protections for VC and ROOT --- GPU/GPUTracking/DataTypes/CalibdEdxTrackTopologyPol.cxx | 2 ++ GPU/GPUTracking/Debug/GPUROOTDump.h | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/GPU/GPUTracking/DataTypes/CalibdEdxTrackTopologyPol.cxx b/GPU/GPUTracking/DataTypes/CalibdEdxTrackTopologyPol.cxx index 47a6e4cff72df..4e093da5d2cf6 100644 --- a/GPU/GPUTracking/DataTypes/CalibdEdxTrackTopologyPol.cxx +++ b/GPU/GPUTracking/DataTypes/CalibdEdxTrackTopologyPol.cxx @@ -9,7 +9,9 @@ // granted to it by virtue of its status as an Intergovernmental Organization // or submit itself to any jurisdiction. +#ifndef GPUCA_NO_VC #include "Rtypes.h" +#endif #include "CalibdEdxTrackTopologyPol.h" #include diff --git a/GPU/GPUTracking/Debug/GPUROOTDump.h b/GPU/GPUTracking/Debug/GPUROOTDump.h index 407076c98b4be..f8f8950a06ae0 100644 --- a/GPU/GPUTracking/Debug/GPUROOTDump.h +++ b/GPU/GPUTracking/Debug/GPUROOTDump.h @@ -20,11 +20,13 @@ #include "GPUROOTDumpCore.h" #include #include -#include -#include #else class TNtuple; #endif +#ifndef GPUCA_GPUCODE +#include +#include +#endif namespace o2 {