RT4334: Check UEFI before __STDC_VERSION__ for <inttypes.h>
authorDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 22 Feb 2016 16:54:57 +0000 (16:54 +0000)
committerRich Salz <rsalz@openssl.org>
Mon, 22 Feb 2016 17:10:00 +0000 (12:10 -0500)
commitcbb259caaf2cabf9bedc35fd41ba84f048a3de0f
treef6257fcbe95335ed05b0fa19cf52ca862223c935
parent316fae2a948afc1eb3a6d3d8b294156c011df133
RT4334: Check UEFI before __STDC_VERSION__ for <inttypes.h>

Adding -nostdinc to the EDK2 showed that we were including <inttypes.h>
for some UEFI builds, because the check for __STDC_VERSION__ happens
before the check for OPENSSL_SYS_UEFI. Fix that.

Signed-off-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
include/openssl/e_os2.h