aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRoumen Petrov <openssl@roumenpetrov.info>2015-12-03 23:43:24 +0200
committerKurt Roeckx <kurt@roeckx.be>2015-12-23 20:40:54 +0100
commitb9b154d1cfc80d0992613713780a2bf8ee88da41 (patch)
treedf1745b49d59a8f9cd90128710be9378b7d2de51 /include
parent3eabad02d682f8cd1521325fb986763e2d7a22e8 (diff)
downloadopenssl-b9b154d1cfc80d0992613713780a2bf8ee88da41.tar.gz
__STDC_VERSION__ is not defined for c89 compilers
Signed-off-by: Kurt Roeckx <kurt@roeckx.be> Reviewed-by: Rich Salz <rsalz@openssl.org> MR: #1522
Diffstat (limited to 'include')
-rw-r--r--include/openssl/e_os2.h6
1 files 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 <inttypes.h>
+# ifdef __STDC_VERSION__
+# if (__STDC_VERSION__ >= 199901L)
+# include <inttypes.h>
+# endif
# endif
# ifndef PRIu64
# define PRIu64 "lu"