summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2017-03-28 09:24:16 -0400
committerRich Salz <rsalz@openssl.org>2017-03-28 11:38:55 -0400
commit37e4be4a8612958848c1cbe2e6c2f9d97aaa4cca (patch)
tree52a5afc636a3c5ea8567a2c30d389c3fb37cd856 /include
parent0f954d65f40495f53bdfb85b856427da44cf5c92 (diff)
Move PRIu64 to e_os.h
Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3061)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/e_os2.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/include/openssl/e_os2.h b/include/openssl/e_os2.h
index 99ea3477d7..1f3ecb65a0 100644
--- a/include/openssl/e_os2.h
+++ b/include/openssl/e_os2.h
@@ -242,7 +242,6 @@ typedef INT32 int32_t;
typedef UINT32 uint32_t;
typedef INT64 int64_t;
typedef UINT64 uint64_t;
-# define PRIu64 "%Lu"
# elif (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || \
defined(__osf__) || defined(__sgi) || defined(__hpux) || \
defined(OPENSSL_SYS_VMS) || defined (__OpenBSD__)
@@ -264,18 +263,6 @@ typedef unsigned __int64 uint64_t;
# include <stdint.h>
# endif
-/*
- * We need a format operator for some client tools for uint64_t. If inttypes.h
- * isn't available or did not define it, just go with hard-coded.
- */
-# ifndef PRIu64
-# ifdef SIXTY_FOUR_BIT_LONG
-# define PRIu64 "lu"
-# else
-# define PRIu64 "llu"
-# endif
-# endif
-
/* ossl_inline: portable inline definition usable in public headers */
# if !defined(inline) && !defined(__cplusplus)
# if defined(__STDC_VERSION__) && __STDC_VERSION__>=199901L