summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Src/Version.cpp
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2011-10-01 21:03:51 -0500
committerJordan Woyak <jordan.woyak@gmail.com>2011-10-01 21:31:43 -0500
commitd3e639a3979205dc3ec52e6205170b03bbde3a1c (patch)
tree74cb2a882950da598d76c6928dfc495b026e8069 /Source/Core/Common/Src/Version.cpp
parente76bc71efe8c3c724e14a2f741fe4f34669d1bea (diff)
fix build issue with intel compiler and fix some unsafe string usages, patch by FilthyMonkey
Diffstat (limited to 'Source/Core/Common/Src/Version.cpp')
-rw-r--r--Source/Core/Common/Src/Version.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/Core/Common/Src/Version.cpp b/Source/Core/Common/Src/Version.cpp
index f3d30398c8..97e232785d 100644
--- a/Source/Core/Common/Src/Version.cpp
+++ b/Source/Core/Common/Src/Version.cpp
@@ -30,7 +30,12 @@ const char *scm_rev_str = "Dolphin "
#if !SCM_IS_MASTER
"[" SCM_BRANCH_STR "] "
#endif
+
+#ifdef __INTEL_COMPILER
+ BUILD_TYPE_STR SCM_DESC_STR "-ICC";
+#else
BUILD_TYPE_STR SCM_DESC_STR;
+#endif
#ifdef _M_X64
#define NP_ARCH "x64"