Belle II Software  release-05-01-25
switch_basf2_standalone.h
1 #pragma once
2 
3 #ifndef B2FATAL
4 
5 #ifdef NOBASF2
6 #include <iostream>
7 #define B2FATAL(a) {std::cerr << a << std::endl; exit(1);}
8 #else
9 #include <framework/logging/Logger.h>
10 #endif
11 
12 #endif
13 
14 // To compile DAQ program on COPPER(SL5.7)
15 #ifndef OVERRIDE_CPP17
16 #ifndef NOBASF2
17 #define OVERRIDE_CPP17 override
18 #else
19 #define OVERRIDE_CPP17
20 #endif
21 #endif