From 1f0bfe561737cd445532f20d7607a81d1dadddee Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 29 Jul 2018 16:09:22 +0200 Subject: patch 8.1.0226: too many #ifdefs Problem: Too many #ifdefs. Solution: Graduate the +vreplace feature, it's not much code and quite a few #ifdefs. --- src/macros.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/macros.h') diff --git a/src/macros.h b/src/macros.h index c91b4b6205..1654e3e558 100644 --- a/src/macros.h +++ b/src/macros.h @@ -235,11 +235,7 @@ # define TIME_MSG(s) do { /**/ } while (0) #endif -#ifdef FEAT_VREPLACE -# define REPLACE_NORMAL(s) (((s) & REPLACE_FLAG) && !((s) & VREPLACE_FLAG)) -#else -# define REPLACE_NORMAL(s) ((s) & REPLACE_FLAG) -#endif +#define REPLACE_NORMAL(s) (((s) & REPLACE_FLAG) && !((s) & VREPLACE_FLAG)) #ifdef FEAT_ARABIC # define UTF_COMPOSINGLIKE(p1, p2) utf_composinglike((p1), (p2)) -- cgit v1.2.3