From d3e639a3979205dc3ec52e6205170b03bbde3a1c Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Sat, 1 Oct 2011 21:03:51 -0500 Subject: fix build issue with intel compiler and fix some unsafe string usages, patch by FilthyMonkey --- Source/Core/Common/Src/Version.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Source/Core/Common/Src/Version.cpp') 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" -- cgit v1.2.3