Fix gcc detection in check_config.h

This commit is contained in:
Manuel Pégourié-Gonnard 2015-03-23 15:24:07 +01:00
parent bf8f7febd8
commit 757ca00396
2 changed files with 2 additions and 2 deletions

View file

@ -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