From 757ca003963266079819ca6e2e03b9f42aae07e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Mon, 23 Mar 2015 15:24:07 +0100 Subject: [PATCH] Fix gcc detection in check_config.h --- include/polarssl/check_config.h | 2 +- tests/scripts/all.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/polarssl/check_config.h b/include/polarssl/check_config.h index a668cf8b1..a255874ee 100644 --- a/include/polarssl/check_config.h +++ b/include/polarssl/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 904ea4bb5..1151d70b3 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