mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 8.0.1627: compiler warning for visibility attribute not supported
Problem: Compiler warning for visibility attribute not supported on MinGW builds. Solution: Don't add the attribute when we don't expect it to work. (Christian Brabandt)
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
||||||
#if defined(__GNUC__)
|
#if defined(__GNUC__) && !defined(__MINGW32__)
|
||||||
# define INTERNAL __attribute__((visibility("internal")))
|
# define INTERNAL __attribute__((visibility("internal")))
|
||||||
# define UNUSED __attribute__((unused))
|
# define UNUSED __attribute__((unused))
|
||||||
#else
|
#else
|
||||||
|
@@ -766,6 +766,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1627,
|
||||||
/**/
|
/**/
|
||||||
1626,
|
1626,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user