]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/BASE/AliHLTStdIncludes.h
fixing coverity (index out of bounds)
[u/mrichter/AliRoot.git] / HLT / BASE / AliHLTStdIncludes.h
1 // @(#) $Id$
2 // Original file : src/AliHLTStandardIncludes.h,v 1.5
3
4 #ifndef ALIHLTSTDINCLUDESH
5 #define ALIHLTSTDINCLUDESH
6
7 #if __GNUC__ >= 3
8 #include <fstream>
9 #include <iostream>
10
11 #include <cstdio>
12 #include <cmath>
13 #include <cstring>
14 #include <ctime>
15 #include <cstdlib>
16 #include <cerrno>
17 #include <cstdarg>
18
19 /* Use these only if absolutely necessary 
20 eg. in inline functions defined in header files */
21 #define STDCOUT std::cout
22 #define STDCERR std::cerr
23 #define STDENDL std::endl
24 #define STDIF   std::ifstream
25 #define STDOF   std::ofstream
26
27 #else
28 #include <iostream.h>
29 #include <fstream.h>
30
31 #include <stdio.h>
32 #include <math.h>
33 #include <string.h>
34 #include <time.h>
35 #include <stdlib.h>
36 #include <errno.h>
37 #include <stdarg.h>
38
39 /* Use these only if absolutely necessary 
40 eg. in inline functions defined in header files */
41 #define STDCOUT cout
42 #define STDCERR cerr
43 #define STDENDL endl
44 #define STDIF   ifstream
45 #define STDOF   ofstream
46
47 #endif //__GNUC__
48
49 #endif