mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -04:00
patch 8.1.2062: the mouse code is spread out
Problem: The mouse code is spread out. Solution: Move all the mouse code to mouse.c. (Yegappan Lakshmanan, closes #4959)
This commit is contained in:
@@ -229,8 +229,10 @@
|
||||
|
||||
// Mark unused function arguments with UNUSED, so that gcc -Wunused-parameter
|
||||
// can be used to check for mistakes.
|
||||
#ifdef HAVE_ATTRIBUTE_UNUSED
|
||||
# define UNUSED __attribute__((unused))
|
||||
#if defined(HAVE_ATTRIBUTE_UNUSED) || defined(__MINGW32__)
|
||||
# if !defined(UNUSED)
|
||||
# define UNUSED __attribute__((unused))
|
||||
# endif
|
||||
#else
|
||||
# define UNUSED
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user