mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-29 18:14:14 +01:00
Remove obsolete hacks for uin32_t
We now require support for stdint.h from the compiler.
This commit is contained in:
parent
3083053dd2
commit
636741b176
@ -30,12 +30,7 @@
|
|||||||
|
|
||||||
#include "mbedtls/base64.h"
|
#include "mbedtls/base64.h"
|
||||||
|
|
||||||
#if defined(_MSC_VER) && !defined(EFIX64) && !defined(EFI32)
|
|
||||||
#include <basetsd.h>
|
|
||||||
typedef UINT32 uint32_t;
|
|
||||||
#else
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(MBEDTLS_SELF_TEST)
|
#if defined(MBEDTLS_SELF_TEST)
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
@ -87,12 +87,7 @@ static int wsa_init_done = 0;
|
|||||||
|
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
#if defined(_MSC_VER) && !defined(EFIX64) && !defined(EFI32)
|
|
||||||
#include <basetsd.h>
|
|
||||||
typedef UINT32 uint32_t;
|
|
||||||
#else
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Prepare for using the sockets interface
|
* Prepare for using the sockets interface
|
||||||
|
@ -42,12 +42,7 @@
|
|||||||
#define mbedtls_free free
|
#define mbedtls_free free
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(_MSC_VER) && !defined(EFIX64) && !defined(EFI32)
|
|
||||||
#include <basetsd.h>
|
|
||||||
typedef UINT32 uint32_t;
|
|
||||||
#else
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(MBEDTLS_HAVE_TIME)
|
#if defined(MBEDTLS_HAVE_TIME)
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user