From: loizides Date: Sun, 25 Aug 2002 16:26:20 +0000 (+0000) Subject: Standard include file to include different files for different compiler versions. X-Git-Url: http://git.uio.no/git/?a=commitdiff_plain;h=ca3720306c5835822a4751cdf7fc433186bef94e;p=u%2Fmrichter%2FAliRoot.git Standard include file to include different files for different compiler versions. --- diff --git a/HLT/src/AliL3StandardIncludes.h b/HLT/src/AliL3StandardIncludes.h new file mode 100644 index 00000000000..a0135e48b44 --- /dev/null +++ b/HLT/src/AliL3StandardIncludes.h @@ -0,0 +1,39 @@ +#ifndef ALIL3STANDARDINCLUDESH +#define ALIL3STANDARDINCLUDESH + +#if GCCVERSION == 3 + +#include +#include +#include +#include +#include + +#include + +/* Use these only if absolutely necessary +eg. in inline functions defined in header files */ +#define STDCOUT std::cout +#define STDCERR std::cerr +#define STDENDL std::endl + +#else + +#include +#include +#include +#include +#include + +#include + +/* Use these only if absolutely necessary +eg. in inline functions defined in header files */ +#define STDCOUT cout +#define STDCERR cerr +#define STDENDL endl + +#endif //GCCVERSION + +#endif +