Move from inttypes.h to stdint.h

Some toolchains do not have inttypes.h, and we only need stdint.h which is a
subset of it.
This commit is contained in:
Manuel Pégourié-Gonnard 2015-06-22 19:21:23 +02:00
parent e7e89844d6
commit 9386664543
4 changed files with 4 additions and 4 deletions

View File

@ -34,7 +34,7 @@
#include <basetsd.h>
typedef UINT32 uint32_t;
#else
#include <inttypes.h>
#include <stdint.h>
#endif
#if defined(MBEDTLS_SELF_TEST)

View File

@ -83,7 +83,7 @@ static int wsa_init_done = 0;
#include <basetsd.h>
typedef UINT32 uint32_t;
#else
#include <inttypes.h>
#include <stdint.h>
#endif
#if defined(MBEDTLS_PLATFORM_C)

View File

@ -46,7 +46,7 @@
#include <basetsd.h>
typedef UINT32 uint32_t;
#else
#include <inttypes.h>
#include <stdint.h>
#endif
#if defined(MBEDTLS_HAVE_TIME)

View File

@ -16,7 +16,7 @@
#include <basetsd.h>
typedef UINT32 uint32_t;
#else
#include <inttypes.h>
#include <stdint.h>
#endif
#include <stdio.h>