summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Woodhouse <David.Woodhouse@intel.com>2015-10-05 11:24:09 +0100
committerRich Salz <rsalz@openssl.org>2016-02-22 11:31:31 -0500
commitd99d0d96a70faad1bcc8ba95eb3bcf8a4f3fc9a8 (patch)
treee5cdbd38c93fd992ac5b9ea99f70f7c9d7e4ece2
parent985c3146967633707f7c165df82bb0fd8f279758 (diff)
RT4309: Define PRIu64 for UEFI build
Provide an appropriate definition of PRIu64 for the EDK2 build, since we don't have <inttypes.h> there. Signed-off-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Tim Hudson <tjh@openssl.org>
-rw-r--r--include/openssl/e_os2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/openssl/e_os2.h b/include/openssl/e_os2.h
index 8cf6c84272..b66b1cc794 100644
--- a/include/openssl/e_os2.h
+++ b/include/openssl/e_os2.h
@@ -299,6 +299,7 @@ typedef INT32 int32_t;
typedef UINT32 uint32_t;
typedef INT64 int64_t;
typedef UINT64 uint64_t;
+#define PRIu64 "%Lu"
# elif defined(_MSC_VER) && _MSC_VER<=1500
/*
* minimally required typdefs for systems not supporting inttypes.h or