From 636741b176edd5a92c8ff48d9f11af653f031bed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Wed, 1 Jul 2015 17:13:05 +0200 Subject: [PATCH] Remove obsolete hacks for uin32_t We now require support for stdint.h from the compiler. --- library/base64.c | 5 ----- library/net.c | 5 ----- library/ssl_cli.c | 5 ----- 3 files changed, 15 deletions(-) diff --git a/library/base64.c b/library/base64.c index ec19e1b92..4fa434d18 100644 --- a/library/base64.c +++ b/library/base64.c @@ -30,12 +30,7 @@ #include "mbedtls/base64.h" -#if defined(_MSC_VER) && !defined(EFIX64) && !defined(EFI32) -#include -typedef UINT32 uint32_t; -#else #include -#endif #if defined(MBEDTLS_SELF_TEST) #include diff --git a/library/net.c b/library/net.c index 2012aa6be..3c6964672 100644 --- a/library/net.c +++ b/library/net.c @@ -87,12 +87,7 @@ static int wsa_init_done = 0; #include -#if defined(_MSC_VER) && !defined(EFIX64) && !defined(EFI32) -#include -typedef UINT32 uint32_t; -#else #include -#endif /* * Prepare for using the sockets interface diff --git a/library/ssl_cli.c b/library/ssl_cli.c index 0db7c1833..af28d00fc 100644 --- a/library/ssl_cli.c +++ b/library/ssl_cli.c @@ -42,12 +42,7 @@ #define mbedtls_free free #endif -#if defined(_MSC_VER) && !defined(EFIX64) && !defined(EFI32) -#include -typedef UINT32 uint32_t; -#else #include -#endif #if defined(MBEDTLS_HAVE_TIME) #include