summaryrefslogtreecommitdiff
path: root/CompilerInfo.h
diff options
context:
space:
mode:
authorThomas Preud'homme <robotux@celest.fr>2018-03-24 17:52:47 +0000
committerThomas Preud'homme <robotux@celest.fr>2018-03-24 17:52:47 +0000
commit20062a6a4bc2aec8ada645baa78ff68892ccd154 (patch)
tree1d57399de3e44f0407a963fc75b73a8e06d62a62 /CompilerInfo.h
parentd896e3a49f09324530b9fb73a0891a5553473fd5 (diff)
New upstream version 1.4.0.6
Diffstat (limited to 'CompilerInfo.h')
-rw-r--r--CompilerInfo.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/CompilerInfo.h b/CompilerInfo.h
index 78ba379..0ec1e08 100644
--- a/CompilerInfo.h
+++ b/CompilerInfo.h
@@ -5,11 +5,7 @@
/// \def COMPILERINFO the string to identify the compiler
#if defined(Q_CC_GNU)
- #define COMPILERINFO std::string("GCC ")+std::to_string(__GNUC__)+"."+std::to_string(__GNUC_MINOR__)+"."+std::to_string(__GNUC_PATCHLEVEL__)+" build: "+__DATE__+" "+__TIME__
+ #define COMPILERINFO std::string("GCC ")+std::to_string(__GNUC__)+"."+std::to_string(__GNUC_MINOR__)+"."+std::to_string(__GNUC_PATCHLEVEL__)
#else
- #if defined(__DATE__) && defined(__TIME__)
- #define COMPILERINFO std::string("Unknown compiler: ")+__DATE__+" "+__TIME__
- #else
- #define COMPILERINFO std::string("Unknown compiler")
- #endif
+ #define COMPILERINFO std::string("Unknown compiler: ")
#endif