Skip to content

Commit e016d39

Browse files
committed
GPU: Fix some protections for VC and ROOT
1 parent 9ac62d5 commit e016d39

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

GPU/GPUTracking/DataTypes/CalibdEdxTrackTopologyPol.cxx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
// granted to it by virtue of its status as an Intergovernmental Organization
1010
// or submit itself to any jurisdiction.
1111

12+
#ifndef GPUCA_NO_VC
1213
#include "Rtypes.h"
14+
#endif
1315
#include "CalibdEdxTrackTopologyPol.h"
1416

1517
#include <cstddef>

GPU/GPUTracking/Debug/GPUROOTDump.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,13 @@
2020
#include "GPUROOTDumpCore.h"
2121
#include <TTree.h>
2222
#include <TNtuple.h>
23-
#include <memory>
24-
#include <stdexcept>
2523
#else
2624
class TNtuple;
2725
#endif
26+
#ifndef GPUCA_GPUCODE
27+
#include <memory>
28+
#include <stdexcept>
29+
#endif
2830

2931
namespace o2
3032
{

0 commit comments

Comments
 (0)