updated for version 7.0174
diff --git a/src/ops.c b/src/ops.c
index 73976d1..0c1e853 100644
--- a/src/ops.c
+++ b/src/ops.c
@@ -1844,7 +1844,11 @@
 	    }
 #endif
 	    (void)del_bytes((long)n, restart_edit == NUL && !virtual_op,
-				oap->op_type == OP_DELETE && !oap->is_VIsual);
+				oap->op_type == OP_DELETE
+#ifdef FEAT_VISUAL
+				    && !oap->is_VIsual
+#endif
+							);
 	}
 	else				/* delete characters between lines */
 	{
@@ -1865,7 +1869,11 @@
 	    curwin->w_cursor.col = 0;
 	    (void)del_bytes((long)(oap->end.col + 1 - !oap->inclusive),
 					   restart_edit == NUL && !virtual_op,
-				oap->op_type == OP_DELETE && !oap->is_VIsual);
+				oap->op_type == OP_DELETE
+#ifdef FEAT_VISUAL
+					&& !oap->is_VIsual
+#endif
+							    );
 	    curwin->w_cursor = curpos;		/* restore curwin->w_cursor */
 
 	    (void)do_join(FALSE);