diff --git a/include/mbedtls/check_config.h b/include/mbedtls/check_config.h index de88ae29a..e477c0e99 100644 --- a/include/mbedtls/check_config.h +++ b/include/mbedtls/check_config.h @@ -31,7 +31,7 @@ #define POLARSSL_CHECK_CONFIG_H #if defined(POLARSSL_DEPRECATED_WARNING) && \ - !defined(__GCC__) && !defined(__clang__) + !defined(__GNUC__) && !defined(__clang__) #error "POLARSSL_DEPRECATED_WARNING only works with GCC and Clang" #endif diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index fe3fed0a9..578119b56 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -135,7 +135,7 @@ CC=gcc CFLAGS='-Werror -Os' make # this is meant to cath missing #define polarssl_printf etc # disable fsio to catch some more missing #include -msg "build: full config except platform/fsio" # ~ 30s +msg "build: full config except platform/fsio, make, gcc" # ~ 30s cleanup cp "$CONFIG_H" "$CONFIG_BAK" scripts/config.pl full