We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6317727 commit d7717f0Copy full SHA for d7717f0
source/configGenerator_build.cpp
@@ -499,6 +499,8 @@ void ConfigGenerator::buildReplaceValues(
499
// Add to config.h only list
500
replaceValues["CC_IDENT"] = "#if defined(__INTEL_COMPILER)\n\
501
# define CC_IDENT \"icl\"\n\
502
+#elif defined(__clang__)\n\
503
+# define CC_IDENT \"clang-cl\"\n\
504
#else\n\
505
# define CC_IDENT \"msvc\"\n\
506
#endif";
@@ -548,7 +550,7 @@ void ConfigGenerator::buildReplaceValues(
548
550
549
551
# define HAVE_FAST_64BIT 0\n\
552
- replaceValues["HAVE_INLINE_ASM"] = "#if defined(__INTEL_COMPILER)\n\
553
+ replaceValues["HAVE_INLINE_ASM"] = "#if defined(__INTEL_COMPILER) || defined(__clang__)\n\
554
# define HAVE_INLINE_ASM 1\n\
555
556
# define HAVE_INLINE_ASM 0\n\
0 commit comments