forked from aniani/vim
patch 8.2.5073: clang on MS-Windows produces warnings
Problem: Clang on MS-Windows produces warnings. Solution: Avoid the warnings. (Yegappan Lakshmanan, closes #10546)
This commit is contained in:
@@ -7,9 +7,13 @@
|
||||
|
||||
#if defined(__GNUC__) && !defined(__MINGW32__)
|
||||
# define INTERNAL __attribute__((visibility("internal")))
|
||||
# define UNUSED __attribute__((unused))
|
||||
#else
|
||||
# define INTERNAL
|
||||
#endif
|
||||
|
||||
#if defined(__GNUC__) || defined(__MINGW32__)
|
||||
# define UNUSED __attribute__((unused))
|
||||
#else
|
||||
# define UNUSED
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user