mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 11:15:14 -07: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:
parent
964e52e81f
commit
755e56ba66
@ -17,6 +17,9 @@
|
|||||||
|
|
||||||
#define USE_CRNL
|
#define USE_CRNL
|
||||||
|
|
||||||
|
// We have our own RGB macro in macros.h.
|
||||||
|
#undef RGB
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
# ifndef inline
|
# ifndef inline
|
||||||
# define inline __inline
|
# define inline __inline
|
||||||
|
Loading…
Reference in New Issue
Block a user