0
0
mirror of https://github.com/vim/vim.git synced 2025-11-14 23:04:02 -05:00

patch 8.0.1681: the format attribute fails with MinGW

Problem:    The format attribute fails with MinGW. (John Marriott)
Solution:   Don't use the format attribute with MinGW.
This commit is contained in:
Bram Moolenaar
2018-04-10 12:42:44 +02:00
parent 756ef113d1
commit e80757c154
4 changed files with 11 additions and 5 deletions

View File

@@ -2085,6 +2085,10 @@ typedef struct _stat64 stat_T;
typedef struct stat stat_T;
#endif
#if defined(__GNUC__) && !defined(__MINGW32__)
# define USE_PRINTF_FORMAT_ATTRIBUTE
#endif
typedef enum
{
ASSERT_EQUAL,