mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-29 11:14:30 +01:00
Fix ci break in builds without platform.h
This commit is contained in:
parent
1ed9f99ef3
commit
55abc21521
@ -13,6 +13,8 @@
|
|||||||
#define mbedtls_fprintf fprintf
|
#define mbedtls_fprintf fprintf
|
||||||
#define mbedtls_printf printf
|
#define mbedtls_printf printf
|
||||||
#define mbedtls_snprintf snprintf
|
#define mbedtls_snprintf snprintf
|
||||||
|
#define MBEDTLS_EXIT_SUCCESS EXIT_SUCCESS
|
||||||
|
#define MBEDTLS_EXIT_FAILURE EXIT_FAILURE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(MBEDTLS_MEMORY_BUFFER_ALLOC_C)
|
#if defined(MBEDTLS_MEMORY_BUFFER_ALLOC_C)
|
||||||
|
@ -356,7 +356,7 @@ int main(int argc, const char *argv[])
|
|||||||
if( unmet_dependencies[ i-1 ] == NULL )
|
if( unmet_dependencies[ i-1 ] == NULL )
|
||||||
{
|
{
|
||||||
mbedtls_printf("FATAL: Out of memory\n");
|
mbedtls_printf("FATAL: Out of memory\n");
|
||||||
mbedtls_exit( MBEDTLS_PLATFORM_STD_EXIT_FAILURE );
|
mbedtls_exit( MBEDTLS_EXIT_FAILURE );
|
||||||
}
|
}
|
||||||
unmet_dep_count++;
|
unmet_dep_count++;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user