From: svost Date: Mon, 14 Mar 2016 08:55:38 +0000 (+0300) Subject: Version: compiler name suffix update X-Git-Tag: nvc-v0.5.6~3^2~1 X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=commitdiff_plain;h=5c429cb09cd39902bcdf66ee526f5b6647a74064 Version: compiler name suffix update --- diff --git a/src/version.cpp b/src/version.cpp index e5d592d..8430dc7 100644 --- a/src/version.cpp +++ b/src/version.cpp @@ -18,27 +18,24 @@ const std::string CLIENT_NAME("Satoshi"); #endif // Compiler name -#if defined(__GNUC__) && defined(__INTEL_COMPILER) -/*code specific to linux icc compiler*/ -#define CL_NAME "-icc" -#else -#ifdef __GNUC__ -/*code for GNU C compiler */ -#define CL_NAME "-gcc" +#ifdef __INTEL_COMPILER +//code specific to intel compiler +#define CL_NAME "-icpc" #elif _MSC_VER -/*usually has the version number in _MSC_VER*/ -/*code specific to MSVC compiler*/ +//code specific to MSVC compiler #define CL_NAME "-msvc" #elif __clang__ -/*code specific to clang compilers*/ +//code specific to clang compilers #define CL_NAME "-clang" +#elif __GNUC__ +//code for GNU C compiler +#define CL_NAME "-gcc" #elif __MINGW32__ -/*code specific to mingw compilers*/ +//code specific to mingw compilers #define CL_NAME "-mingw" #else #define CL_NAME "-genericcl" -/*others*/ -#endif +//others #endif // The following part of the code determines the CLIENT_BUILD variable.