Merge pull request #6396 from gilles-peskine-arm/platform.h-unconditional-2.28

Backport 2.28: Include platform.h unconditionally
This commit is contained in:
Gilles Peskine
2022-10-13 10:19:25 +02:00
committed by GitHub
129 changed files with 36 additions and 982 deletions

View File

@@ -25,11 +25,7 @@
#if defined(MBEDTLS_ERROR_C)
#if defined(MBEDTLS_PLATFORM_C)
#include "mbedtls/platform.h"
#else
#define mbedtls_snprintf snprintf
#endif
#include <stdio.h>
#include <string.h>

View File

@@ -25,12 +25,7 @@
#include "query_config.h"
#if defined(MBEDTLS_PLATFORM_C)
#include "mbedtls/platform.h"
#else
#include <stdio.h>
#define mbedtls_printf printf
#endif /* MBEDTLS_PLATFORM_C */
/*
* Include all the headers with public APIs in case they define a macro to its