comparison src/vim.h @ 13618:ea4f2a8040b4 v8.0.1681

patch 8.0.1681: the format attribute fails with MinGW commit https://github.com/vim/vim/commit/e80757c1545286240d687e9a303cf8eeb3f9a6de Author: Bram Moolenaar <Bram@vim.org> Date: Tue Apr 10 12:42:44 2018 +0200 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.
author Christian Brabandt <cb@256bit.org>
date Tue, 10 Apr 2018 12:45:06 +0200
parents e76499e85744
children 0d199e59a988
comparison
equal deleted inserted replaced
13617:73b1401bf021 13618:ea4f2a8040b4
2083 typedef struct _stat64 stat_T; 2083 typedef struct _stat64 stat_T;
2084 #else 2084 #else
2085 typedef struct stat stat_T; 2085 typedef struct stat stat_T;
2086 #endif 2086 #endif
2087 2087
2088 #if defined(__GNUC__) && !defined(__MINGW32__)
2089 # define USE_PRINTF_FORMAT_ATTRIBUTE
2090 #endif
2091
2088 typedef enum 2092 typedef enum
2089 { 2093 {
2090 ASSERT_EQUAL, 2094 ASSERT_EQUAL,
2091 ASSERT_NOTEQUAL, 2095 ASSERT_NOTEQUAL,
2092 ASSERT_MATCH, 2096 ASSERT_MATCH,