From 5c429cb09cd39902bcdf66ee526f5b6647a74064 Mon Sep 17 00:00:00 2001 From: svost Date: Mon, 14 Mar 2016 11:55:38 +0300 Subject: [PATCH] Version: compiler name suffix update --- src/version.cpp | 23 ++++++++++------------- 1 files changed, 10 insertions(+), 13 deletions(-) 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. -- 1.7.1