RT4309: Define PRIu64 for UEFI build
authorDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 5 Oct 2015 10:24:09 +0000 (11:24 +0100)
committerRich Salz <rsalz@openssl.org>
Mon, 22 Feb 2016 16:31:31 +0000 (11:31 -0500)
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>
include/openssl/e_os2.h

index 8cf6c842726724e31058105469e38ffaacd0c689..b66b1cc794d59cdce7072736b35d3a010a333c24 100644 (file)
@@ -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