mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-05-05 17:37:58 +02:00
Merge pull request #10695 from valord577/patch-1
Fix build warning/error using llvm-mingw
This commit is contained in:
3
ChangeLog.d/pr_10695__fix_build_llvm_mingw.txt
Normal file
3
ChangeLog.d/pr_10695__fix_build_llvm_mingw.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
Bugfix
|
||||
* Fix a build error using the LLVM based MinGW toolchain.
|
||||
Bug reported and fix contributed by valord577.
|
||||
@@ -59,7 +59,7 @@
|
||||
*/
|
||||
#if defined(__has_attribute)
|
||||
#if __has_attribute(format)
|
||||
#if defined(__MINGW32__)
|
||||
#if defined(__MINGW32__) && !defined(__clang__)
|
||||
#define MBEDTLS_PRINTF_ATTRIBUTE(string_index, first_to_check) \
|
||||
__attribute__((__format__(gnu_printf, string_index, first_to_check)))
|
||||
#else /* defined(__MINGW32__) */
|
||||
|
||||
Reference in New Issue
Block a user