This commit is contained in:
Douglas Stebila 2019-08-03 00:23:54 -04:00
parent 4d492b9270
commit 82ced90ad6

View File

@ -7,9 +7,9 @@ static void print_compiler_info() {
#if defined(__clang__)
printf("Compiler: clang (%s)\n", __clang_version__);
#elif defined(__GNUC_PATCHLEVEL__)
printf("Compiler: gcc (%d.%d.%d)\n", __GNU_C__, __GNUC_MINOR__, __GNUC_PATCHLEVEL__);
printf("Compiler: gcc (%d.%d.%d)\n", __GNUC__, __GNUC_MINOR__, __GNUC_PATCHLEVEL__);
#elif defined(__GNUC_MINOR__)
printf("Compiler: gcc (%d.%d)\n", __GNU_C__, __GNUC_MINOR__);
printf("Compiler: gcc (%d.%d)\n", __GNUC__, __GNUC_MINOR__);
#elif defined(__INTEL_COMPILER)
printf("Compiler: Intel C/C++ (%d)\n", __INTEL_COMPILER);
#elif defined(_MSC_FULL_VER)
@ -76,4 +76,4 @@ static void print_system_info() {
print_compiler_info();
print_oqs_configuration();
printf("\n");
}
}