fix build issue with intel compiler and fix some unsafe string usages, patch by FilthyMonkey

This commit is contained in:
Jordan Woyak
2011-10-01 21:03:51 -05:00
parent e76bc71efe
commit d3e639a397
4 changed files with 14 additions and 7 deletions

View File

@ -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"