projects
/
proxmark3-svn
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #969 from pwpiwi/gcc10_fixes
[proxmark3-svn]
/
client
/
tinycbor
/
cbor.h
diff --git
a/client/tinycbor/cbor.h
b/client/tinycbor/cbor.h
index fd145be2ea0645db7f7bc0ba7466784522f7fc5e..9ae93eaa267c12d8fd2dd02f4d01a76210a21cd7 100644
(file)
--- a/
client/tinycbor/cbor.h
+++ b/
client/tinycbor/cbor.h
@@
-581,7
+581,11
@@
enum CborPrettyFlags {
typedef CborError (*CborStreamFunction)(void *token, const char *fmt, ...)
#ifdef __GNUC__
typedef CborError (*CborStreamFunction)(void *token, const char *fmt, ...)
#ifdef __GNUC__
- __attribute__((__format__(printf, 2, 3)))
+ #if defined(__MINGW32__) || defined(__MINGW64__)
+ __attribute__((__format__(__MINGW_PRINTF_FORMAT, 2, 3)))
+ #else
+ __attribute__((__format__(printf, 2, 3)))
+ #endif
#endif
;
#endif
;
Impressum
,
Datenschutz