Skip to content

Commit 28a9276

Browse files
committed
Never use %zu on MinGW
Signed-off-by: Bence Szépkúti <[email protected]>
1 parent caac41d commit 28a9276

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/mbedtls/debug.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
*
109109
* This module provides debugging functions.
110110
*/
111-
#if (defined(__MINGW32__) && __USE_MINGW_ANSI_STDIO == 0) || (defined(_MSC_VER) && _MSC_VER < 1900)
111+
#if defined(__MINGW32__) || (defined(_MSC_VER) && _MSC_VER < 1900)
112112
#include <inttypes.h>
113113
#define MBEDTLS_PRINTF_SIZET PRIuPTR
114114
#define MBEDTLS_PRINTF_LONGLONG "I64d"

0 commit comments

Comments
 (0)