summaryrefslogtreecommitdiff
path: root/CompilerInfo.h
blob: c4b44643d1be757426aa57479a35e3e8a432e2ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/** \file CompilerInfo.h
\brief Define the compiler info
\author alpha_one_x86
\licence GPL3, see the file COPYING */

/// \def COMPILERINFO the string to identify the compiler
#if defined(Q_CC_GNU)
	#define COMPILERINFO QString("GCC %1.%2.%3 build: ").arg(__GNUC__).arg(__GNUC_MINOR__).arg(__GNUC_PATCHLEVEL__)+__DATE__+" "+__TIME__
#else
	#if defined(__DATE__) && defined(__TIME__)
		#define COMPILERINFO QString("Unknow compiler: ")+__DATE__+" "+__TIME__
	#else
		#define COMPILERINFO QString("Unknow compiler")
	#endif
#endif