mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 13:00:42 -07:00
fix: #752 MINGW env needs to be using gnu printf
This commit is contained in:
parent
aff86a2939
commit
c3ab0b6527
1 changed files with 4 additions and 2 deletions
|
@ -556,7 +556,9 @@ enum CborPrettyFlags {
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef CborError(*CborStreamFunction)(void *token, const char *fmt, ...)
|
typedef CborError(*CborStreamFunction)(void *token, const char *fmt, ...)
|
||||||
#ifdef __GNUC__
|
#if defined(__MINGW32__) || defined(__MINGW64__)
|
||||||
|
__attribute__((format (__MINGW_PRINTF_FORMAT, 2, 3)));
|
||||||
|
#elif defined(__GNUC__)
|
||||||
__attribute__((__format__(printf, 2, 3)))
|
__attribute__((__format__(printf, 2, 3)))
|
||||||
#endif
|
#endif
|
||||||
;
|
;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue