Permalink
Browse files

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)
  • Loading branch information...
brammool committed Mar 22, 2018
1 parent b571c63 commit 7735dafb584c77cf1191eceaa0b4db46266c9cb8
Showing with 3 additions and 1 deletion.
  1. +1 −1 src/libvterm/src/vterm_internal.h
  2. +2 −0 src/version.c
@@ -5,7 +5,7 @@
#include <stdarg.h>
#if defined(__GNUC__)
#if defined(__GNUC__) && !defined(__MINGW32__)
# define INTERNAL __attribute__((visibility("internal")))
# define UNUSED __attribute__((unused))
#else
@@ -766,6 +766,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1627,
/**/
1626,
/**/

0 comments on commit 7735daf

Please sign in to comment.