Commit b9b154d1 authored by Roumen Petrov's avatar Roumen Petrov Committed by Kurt Roeckx
Browse files

__STDC_VERSION__ is not defined for c89 compilers

Signed-off-by: default avatarKurt Roeckx <kurt@roeckx.be>
Reviewed-by: default avatarRich Salz <rsalz@openssl.org>

MR: #1522
parent 3eabad02
Loading
Loading
Loading
Loading
+2 −0
Changes for include/openssl/e_os2.h: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -321,9 +321,11 @@ typedef unsigned __int64 uint64_t;
 * some systems (e.g. Mac OS X).
 */
# ifndef PRIu64
#  ifdef __STDC_VERSION__
#   if (__STDC_VERSION__ >= 199901L)
#    include <inttypes.h>
#   endif
#  endif
#  ifndef PRIu64
#   define PRIu64 "lu"
#  endif