aboutsummaryrefslogtreecommitdiff
path: root/editors/vi.c
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2024-02-16 12:06:15 +0000
committerRon Yorston <rmy@pobox.com>2024-02-16 12:06:15 +0000
commit0200baa675d3b51c0f021da7728353ee7ceedba4 (patch)
tree2c60bea606dc2d2f0976f158de977c1babd0384a /editors/vi.c
parenta4bb355732f2902b936368b644fa08518ecce55a (diff)
downloadbusybox-w32-0200baa675d3b51c0f021da7728353ee7ceedba4.tar.gz
busybox-w32-0200baa675d3b51c0f021da7728353ee7ceedba4.tar.bz2
busybox-w32-0200baa675d3b51c0f021da7728353ee7ceedba4.zip
build system: avoid full rebuild when EXTRAVERSION changes
The last two commits allow EXTRAVERSION to track the current state of a git repository. The build system was unable to determine which files were affected by changes to EXTRAVERSION and caused a full rebuild when it changed. Alter how the version information is passed to the code so only a handful of files need to be rebuilt when it changes.
Diffstat (limited to 'editors/vi.c')
-rw-r--r--editors/vi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/editors/vi.c b/editors/vi.c
index b49d5454d..7ad8412a2 100644
--- a/editors/vi.c
+++ b/editors/vi.c
@@ -214,6 +214,9 @@
214#if ENABLE_FEATURE_VI_REGEX_SEARCH 214#if ENABLE_FEATURE_VI_REGEX_SEARCH
215# include <regex.h> 215# include <regex.h>
216#endif 216#endif
217#if ENABLE_PLATFORM_MINGW32
218# include "BB_VER.h"
219#endif
217 220
218// the CRASHME code is unmaintained, and doesn't currently build 221// the CRASHME code is unmaintained, and doesn't currently build
219#define ENABLE_FEATURE_VI_CRASHME 0 222#define ENABLE_FEATURE_VI_CRASHME 0