mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Include gcc patchlevel in compiler version report.
This commit is contained in:
parent
6f9dfc8469
commit
2595f983e6
@ -526,7 +526,7 @@ static const char* GetHostInfo()
|
||||
#elif defined __clang__
|
||||
ptr += sprintf( ptr, "Compiler: clang %i.%i.%i\n", __clang_major__, __clang_minor__, __clang_patchlevel__ );
|
||||
#elif defined __GNUC__
|
||||
ptr += sprintf( ptr, "Compiler: gcc %i.%i\n", __GNUC__, __GNUC_MINOR__ );
|
||||
ptr += sprintf( ptr, "Compiler: gcc %i.%i.%i\n", __GNUC__, __GNUC_MINOR__, __GNUC_PATCHLEVEL__ );
|
||||
#else
|
||||
ptr += sprintf( ptr, "Compiler: unknown\n" );
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user