mirror of
https://github.com/Mbed-TLS/mbedtls-framework.git
synced 2026-10-03 23:37:22 +00:00
Never use %zu on MinGW
Signed-off-by: Bence Szépkúti <[email protected]>
This commit is contained in:
@@ -108,7 +108,7 @@
|
|||||||
*
|
*
|
||||||
* This module provides debugging functions.
|
* This module provides debugging functions.
|
||||||
*/
|
*/
|
||||||
#if (defined(__MINGW32__) && __USE_MINGW_ANSI_STDIO == 0) || (defined(_MSC_VER) && _MSC_VER < 1900)
|
#if defined(__MINGW32__) || (defined(_MSC_VER) && _MSC_VER < 1900)
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#define MBEDTLS_PRINTF_SIZET PRIuPTR
|
#define MBEDTLS_PRINTF_SIZET PRIuPTR
|
||||||
#define MBEDTLS_PRINTF_LONGLONG "I64d"
|
#define MBEDTLS_PRINTF_LONGLONG "I64d"
|
||||||
|
|||||||
Reference in New Issue
Block a user