diff options
author | Mat <mberchtold@gmail.com> | 2016-05-18 23:30:52 +0200 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-05-18 18:40:51 -0400 |
commit | 276fa9bda99d12666441277afa39f81ae374437d (patch) | |
tree | 150e3d4ba585ef29587e025025a7ef9555df3628 | |
parent | c9141a43e246d527ec8b5a97b98e93fc31b0f0b8 (diff) | |
download | openssl-276fa9bda99d12666441277afa39f81ae374437d.zip openssl-276fa9bda99d12666441277afa39f81ae374437d.tar.gz openssl-276fa9bda99d12666441277afa39f81ae374437d.tar.bz2 |
Fixes non __GNUC__ compilation
adds missing check for defined(__GNUC__)
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1094)
-rw-r--r-- | include/openssl/e_os2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openssl/e_os2.h b/include/openssl/e_os2.h index 1b1364d..eee6323 100644 --- a/include/openssl/e_os2.h +++ b/include/openssl/e_os2.h @@ -293,7 +293,7 @@ typedef unsigned __int64 uint64_t; # define ossl_inline inline # endif -# if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 7) +# if defined(__GNUC__) && (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 7)) # define ossl_noreturn __attribute__((noreturn)) # elif defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L # define ossl_noreturn _Noreturn |