summaryrefslogtreecommitdiff
path: root/CompilerInfo.h
diff options
context:
space:
mode:
authorThomas Preud'homme <robotux@celest.fr>2013-01-04 14:50:19 +0100
committerThomas Preud'homme <robotux@celest.fr>2013-01-04 14:50:19 +0100
commit8f9f382e1c97cab2e72e97495650c73ac4b97314 (patch)
tree78510a0d81368c09b56f444fb19bb132c8bc3009 /CompilerInfo.h
Imported Upstream version 0.3.0.5
Diffstat (limited to 'CompilerInfo.h')
-rw-r--r--CompilerInfo.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/CompilerInfo.h b/CompilerInfo.h
new file mode 100644
index 0000000..5209988
--- /dev/null
+++ b/CompilerInfo.h
@@ -0,0 +1,17 @@
+/** \file CompilerInfo.h
+\brief Define the compiler info
+\author alpha_one_x86
+\version 0.3
+\date 2010
+\licence GPL3, see the file COPYING */
+
+/// \def COMPILERINFO the string to identify the compiler
+#if defined(Q_CC_GNU)
+ #define COMPILERINFO QString("GCC build: ")+__DATE__+" "+__TIME__
+#else
+ #if defined(__DATE__) && defined(__TIME__)
+ #define COMPILERINFO QString("Unknow compiler: ")+__DATE__+" "+__TIME__
+ #else
+ #define COMPILERINFO QString("Unknow compiler")
+ #endif
+#endif