From 755e56ba66cec39912331753de9367d7fa0f35d6 Mon Sep 17 00:00:00 2001 From: Rui Abreu Ferreira Date: Thu, 14 Jan 2016 21:38:24 -0500 Subject: 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 --- src/nvim/os/win_defs.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/nvim/os/win_defs.h b/src/nvim/os/win_defs.h index e6a714601f..673fff3ad0 100644 --- a/src/nvim/os/win_defs.h +++ b/src/nvim/os/win_defs.h @@ -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 -- cgit