From b9b154d1cfc80d0992613713780a2bf8ee88da41 Mon Sep 17 00:00:00 2001 From: Roumen Petrov Date: Thu, 3 Dec 2015 23:43:24 +0200 Subject: [PATCH] __STDC_VERSION__ is not defined for c89 compilers Signed-off-by: Kurt Roeckx Reviewed-by: Rich Salz MR: #1522 --- include/openssl/e_os2.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/openssl/e_os2.h b/include/openssl/e_os2.h index 07428e9439..bbfb48e4ba 100644 --- a/include/openssl/e_os2.h +++ b/include/openssl/e_os2.h @@ -321,8 +321,10 @@ typedef unsigned __int64 uint64_t; * some systems (e.g. Mac OS X). */ # ifndef PRIu64 -# if (__STDC_VERSION__ >= 199901L) -# include +# ifdef __STDC_VERSION__ +# if (__STDC_VERSION__ >= 199901L) +# include +# endif # endif # ifndef PRIu64 # define PRIu64 "lu" -- 2.34.1