projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3eabad0
)
__STDC_VERSION__ is not defined for c89 compilers
author
Roumen Petrov
<openssl@roumenpetrov.info>
Thu, 3 Dec 2015 21:43:24 +0000
(23:43 +0200)
committer
Kurt Roeckx
<kurt@roeckx.be>
Wed, 23 Dec 2015 19:40:54 +0000
(20:40 +0100)
Signed-off-by: Kurt Roeckx <kurt@roeckx.be>
Reviewed-by: Rich Salz <rsalz@openssl.org>
MR: #1522
include/openssl/e_os2.h
patch
|
blob
|
history
diff --git
a/include/openssl/e_os2.h
b/include/openssl/e_os2.h
index 07428e9439a0459551fa03705fabf9ca24671513..bbfb48e4babd3306711fe3b932055f0e8ddfbc5b 100644
(file)
--- 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"