diff options
author | Ron Yorston <rmy@pobox.com> | 2021-09-17 17:57:40 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2021-09-17 18:05:16 +0100 |
commit | 5f652529e4e62e9b98ccded179e773c5ae2fac55 (patch) | |
tree | 8109d25d129ef2b84a312caac1074a5d773840e2 /init | |
parent | 9428d54ff38e2cbc8d6977fb3ab67edab91fd350 (diff) | |
download | busybox-w32-5f652529e4e62e9b98ccded179e773c5ae2fac55.tar.gz busybox-w32-5f652529e4e62e9b98ccded179e773c5ae2fac55.tar.bz2 busybox-w32-5f652529e4e62e9b98ccded179e773c5ae2fac55.zip |
ash: avoid problems with non-zero DEBUG
When DEBUG had a non-zero value the preprocessor complained that
'close' was being redefined. In a WIN32 build it's set to
'mingw_close'. Since this isn't necessary in ash it can be
undefined without ill effects.
DEBUG can be set to 1 or 2. In a WIN32 build this value was being
used to calculate indices for optlist[], giving incorrect results.
Using (DEBUG != 0) instead fixes this.
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions