提交 276fa9bd 编写于 作者: M Mat 提交者: Rich Salz

Fixes non __GNUC__ compilation

adds missing check for defined(__GNUC__)
Reviewed-by: NRichard Levitte <levitte@openssl.org>
Reviewed-by: NRich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1094)
上级 c9141a43
...@@ -293,7 +293,7 @@ typedef unsigned __int64 uint64_t; ...@@ -293,7 +293,7 @@ typedef unsigned __int64 uint64_t;
# define ossl_inline inline # define ossl_inline inline
# endif # endif
# if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 7) # if defined(__GNUC__) && (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 7))
# define ossl_noreturn __attribute__((noreturn)) # define ossl_noreturn __attribute__((noreturn))
# elif defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L # elif defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
# define ossl_noreturn _Noreturn # define ossl_noreturn _Noreturn
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册