Skip to content

Commit 7735daf

Browse files
committed
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)
1 parent b571c63 commit 7735daf

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/libvterm/src/vterm_internal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
#include <stdarg.h>
77

8-
#if defined(__GNUC__)
8+
#if defined(__GNUC__) && !defined(__MINGW32__)
99
# define INTERNAL __attribute__((visibility("internal")))
1010
# define UNUSED __attribute__((unused))
1111
#else

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -766,6 +766,8 @@ static char *(features[]) =
766766

767767
static int included_patches[] =
768768
{ /* Add new patch number below this line */
769+
/**/
770+
1627,
769771
/**/
770772
1626,
771773
/**/

0 commit comments

Comments
 (0)