mirror of
https://github.com/vim/vim.git
synced 2025-10-13 06:54:15 -04:00
patch 9.0.0781: workaround to rename "small" to "smallfont" is clumsy
Problem: Workaround to rename "small" to "smallfont" is clumsy. Solution: Undefine "small" after including windows.h. (Ken Takata)
This commit is contained in:
@@ -86,6 +86,10 @@
|
||||
#endif
|
||||
#ifndef PROTO
|
||||
# include <windows.h>
|
||||
|
||||
// Weird: rpcndr.h defines "small" to "char", which causes trouble
|
||||
#undef small
|
||||
|
||||
# ifndef SM_CXPADDEDBORDER
|
||||
# define SM_CXPADDEDBORDER 92
|
||||
# endif
|
||||
|
Reference in New Issue
Block a user