提交 21b80f9a 编写于 作者: D David Woodhouse 提交者: Rich Salz

RT4318: Fix OSSL_SSIZE_MAX for UEFI build

Commit e634b448 ("Defines OSSL_SSIZE_MAX") introduced a definition of
OSSL_SSIZE_MAX which broke the UEFI build. Fix that by making UEFI take
the same definition as Ultrix (ssize_t == int).
Signed-off-by: NRich Salz <rsalz@openssl.org>
Reviewed-by: NMatt Caswell <matt@openssl.org>
上级 c7b7938e
......@@ -269,7 +269,7 @@ extern "C" {
# endif
# endif
# if defined(__ultrix) && !defined(ssize_t)
# if (defined(__ultrix) || defined(OPENSSL_SYS_UEFI)) && !defined(ssize_t)
# define ossl_ssize_t int
# define OSSL_SSIZE_MAX INT_MAX
# endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册