diff options
author | Ron Yorston <rmy@pobox.com> | 2024-12-31 08:21:12 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2024-12-31 08:21:12 +0000 |
commit | 0e8bc6527c9d4b9af17e9b0f759b1ad12ae1bc35 (patch) | |
tree | c07010a56828af6c8dcd4f4313063c1a86635541 /win32/process.c | |
parent | 370ce52cca8e7e8a341d5e238a79fd67f6048bb6 (diff) | |
download | busybox-w32-0e8bc6527c9d4b9af17e9b0f759b1ad12ae1bc35.tar.gz busybox-w32-0e8bc6527c9d4b9af17e9b0f759b1ad12ae1bc35.tar.bz2 busybox-w32-0e8bc6527c9d4b9af17e9b0f759b1ad12ae1bc35.zip |
win32: fix compilation with FEATURE_SH_NOFORK disabled
Compiling with FEATURE_SH_NOFORK disabled resulted in an error and
a warning. Fixing these doesn't change the default build.
Diffstat (limited to '')
-rw-r--r-- | win32/process.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/win32/process.c b/win32/process.c index e7c9ca187..fd89707ca 100644 --- a/win32/process.c +++ b/win32/process.c | |||
@@ -331,7 +331,9 @@ mingw_spawn_interpreter(int mode, const char *prog, char *const *argv, | |||
331 | } else { | 331 | } else { |
332 | errno = ENOENT; | 332 | errno = ENOENT; |
333 | } | 333 | } |
334 | #if ENABLE_FEATURE_PREFER_APPLETS && NUM_APPLETS > 1 | ||
334 | done: | 335 | done: |
336 | #endif | ||
335 | free(path); | 337 | free(path); |
336 | free(new_argv); | 338 | free(new_argv); |
337 | return ret; | 339 | return ret; |