0
0
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:
Bram Moolenaar
2018-03-22 20:26:50 +01:00
parent b571c63d48
commit 7735dafb58
2 changed files with 3 additions and 1 deletions

View File

@@ -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