mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
fix build issue with intel compiler and fix some unsafe string usages, patch by FilthyMonkey
This commit is contained in:
parent
e76bc71efe
commit
d3e639a397
4 changed files with 14 additions and 7 deletions
|
@ -143,7 +143,7 @@ private:
|
|||
#define _M_SSE 0x301
|
||||
#elif __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)
|
||||
#define _M_SSE 0x301
|
||||
#elif _MSC_VER >= 1500 // Visual Studio 2008
|
||||
#elif (_MSC_VER >= 1500) || __INTEL_COMPILER // Visual Studio 2008
|
||||
#define _M_SSE 0x402
|
||||
#endif
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue