提交 b9b154d1 编写于 作者: R Roumen Petrov 提交者: Kurt Roeckx

__STDC_VERSION__ is not defined for c89 compilers

Signed-off-by: NKurt Roeckx <kurt@roeckx.be>
Reviewed-by: NRich Salz <rsalz@openssl.org>

MR: #1522
上级 3eabad02
......@@ -321,8 +321,10 @@ typedef unsigned __int64 uint64_t;
* some systems (e.g. Mac OS X).
*/
# ifndef PRIu64
# if (__STDC_VERSION__ >= 199901L)
# include <inttypes.h>
# ifdef __STDC_VERSION__
# if (__STDC_VERSION__ >= 199901L)
# include <inttypes.h>
# endif
# endif
# ifndef PRIu64
# define PRIu64 "lu"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册