mirror of
https://github.com/neovim/neovim.git
synced 2025-10-04 17:06:30 +00:00
Windows: Undefine the Windows RGB macro.
Windows provides a RGB macro but we have our own in macros.h. Undefine the Windows one before including macros.h. See: https://msdn.microsoft.com/en-us/library/dd162937%28v=vs.85%29.aspx
This commit is contained in:

committed by
Seth Jackson

parent
964e52e81f
commit
755e56ba66
@@ -17,6 +17,9 @@
|
||||
|
||||
#define USE_CRNL
|
||||
|
||||
// We have our own RGB macro in macros.h.
|
||||
#undef RGB
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# ifndef inline
|
||||
# define inline __inline
|
||||
|
Reference in New Issue
Block a user