mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Detect and report clang-cl.
This commit is contained in:
parent
55c9f41060
commit
d31d1f5946
@ -402,7 +402,11 @@ static const char* GetHostInfo()
|
||||
#endif
|
||||
|
||||
#if defined _MSC_VER
|
||||
# if defined __clang__
|
||||
ptr += sprintf( ptr, "Compiler: MSVC clang-cl %i.%i.%i\n", __clang_major__, __clang_minor__, __clang_patchlevel__ );
|
||||
# else
|
||||
ptr += sprintf( ptr, "Compiler: MSVC %i\n", _MSC_VER );
|
||||
# endif
|
||||
#elif defined __clang__
|
||||
ptr += sprintf( ptr, "Compiler: clang %i.%i.%i\n", __clang_major__, __clang_minor__, __clang_patchlevel__ );
|
||||
#elif defined __GNUC__
|
||||
|
Loading…
Reference in New Issue
Block a user