Skip to content

Commit

Permalink
patch 8.0.1627: compiler warning for visibility attribute not supported
Browse files Browse the repository at this point in the history
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 7735daf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/libvterm/src/vterm_internal.h
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -766,6 +766,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1627,
/**/
1626,
/**/
Expand Down

0 comments on commit 7735daf

Please sign in to comment.