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>
|
||||
|
||||
#if defined(__GNUC__)
|
||||
#if defined(__GNUC__) && !defined(__MINGW32__)
|
||||
# define INTERNAL __attribute__((visibility("internal")))
|
||||
# define UNUSED __attribute__((unused))
|
||||
#else
|
||||
|
Reference in New Issue
Block a user