Skip to content

Commit

Permalink
stdio.h: set printf format attribute according to inttypes.h
Browse files Browse the repository at this point in the history
Signed-off-by: Mateusz Brzostek <mateuszb@poczta.onet.pl>
Signed-off-by: Liu Hao <lh_mouse@126.com>
  • Loading branch information
Mateusz authored and lhmouse committed Nov 4, 2018
1 parent a84fc01 commit 8565cdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mingw-w64-headers/crt/stdio.h
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ extern
#if defined(__clang__)
#define __MINGW_PRINTF_FORMAT printf
#define __MINGW_SCANF_FORMAT scanf
#elif __USE_MINGW_ANSI_STDIO
#elif __MSVCRT_VERSION__ >= 0x1400 || __USE_MINGW_ANSI_STDIO
#define __MINGW_PRINTF_FORMAT gnu_printf
#define __MINGW_SCANF_FORMAT gnu_scanf
#else
Expand Down

0 comments on commit 8565cdb

Please sign in to comment.