diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2018-03-18 16:47:25 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-03-18 16:47:25 +0100 |
| commit | 72e4c9d8e776790e40b2a5911bb702de897fbd12 (patch) | |
| tree | 06362caeb7fb916ced7202c5b71d0d5f3757a304 /src/nvim/os | |
| parent | f407a94032ae7c3a78aa39c2de02e37d14a5f861 (diff) | |
| parent | 65b66bc332c56c04d4687f11b601a59ddd5d09bd (diff) | |
| download | rneovim-72e4c9d8e776790e40b2a5911bb702de897fbd12.tar.gz rneovim-72e4c9d8e776790e40b2a5911bb702de897fbd12.tar.bz2 rneovim-72e4c9d8e776790e40b2a5911bb702de897fbd12.zip | |
Merge #8142 'build/msvc: fix some warnings'
Diffstat (limited to 'src/nvim/os')
| -rw-r--r-- | src/nvim/os/win_defs.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/nvim/os/win_defs.h b/src/nvim/os/win_defs.h index faee06304c..db93f016bf 100644 --- a/src/nvim/os/win_defs.h +++ b/src/nvim/os/win_defs.h @@ -32,11 +32,8 @@ // Windows defines a RGB macro that produces 0x00bbggrr color values for use // with GDI. Our macro is different, and we don't use GDI. -#if defined(RGB) -# undef RGB - // Duplicated from macros.h to avoid include-order sensitivity. -# define RGB(r, g, b) ((r << 16) | (g << 8) | b) -#endif +// Duplicated from macros.h to avoid include-order sensitivity. +#define RGB_(r, g, b) ((r << 16) | (g << 8) | b) #ifdef _MSC_VER # ifndef inline |