mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-06-05 21:15:16 +00:00
Fix build warning/error using llvm-mingw
error logs refs: https://github.com/valord577/nativepkgs/actions/runs/24490614774/job/71574726128 Signed-off-by: valord577 <valord577@gmail.com>
This commit is contained in:
@@ -59,7 +59,7 @@
|
|||||||
*/
|
*/
|
||||||
#if defined(__has_attribute)
|
#if defined(__has_attribute)
|
||||||
#if __has_attribute(format)
|
#if __has_attribute(format)
|
||||||
#if defined(__MINGW32__)
|
#if defined(__MINGW32__) && !defined(__clang__)
|
||||||
#define MBEDTLS_PRINTF_ATTRIBUTE(string_index, first_to_check) \
|
#define MBEDTLS_PRINTF_ATTRIBUTE(string_index, first_to_check) \
|
||||||
__attribute__((__format__(gnu_printf, string_index, first_to_check)))
|
__attribute__((__format__(gnu_printf, string_index, first_to_check)))
|
||||||
#else /* defined(__MINGW32__) */
|
#else /* defined(__MINGW32__) */
|
||||||
|
|||||||
Reference in New Issue
Block a user