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:
Rui Abreu Ferreira 2016-01-14 21:38:24 -05:00 committed by Seth Jackson
parent 964e52e81f
commit 755e56ba66

View File

@ -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