patch 8.2.4119: build failure when disabling the channel feature
Problem: Build failure when disabling the channel feature.
Solution: Adjust #ifdef. (Dominique Pellé, closes #9545)
diff --git a/src/misc2.c b/src/misc2.c
index 971fbdf..26d3657 100644
--- a/src/misc2.c
+++ b/src/misc2.c
@@ -2902,7 +2902,6 @@
return OK;
}
-# if defined(FEAT_JOB_CHANNEL) || defined(PROTO)
/*
* Build "argv[argc]" from the string "cmd".
* "argv[argc]" is set to NULL;
@@ -2929,6 +2928,7 @@
return OK;
}
+# if defined(FEAT_JOB_CHANNEL) || defined(PROTO)
/*
* Build "argv[argc]" from the list "l".
* "argv[argc]" is set to NULL;