diff options
author | Rob Landley <rob@landley.net> | 2014-11-19 16:55:12 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2014-11-19 16:55:12 -0600 |
commit | 561478541dbeb92e2c82c2fda7b43461293938e9 (patch) | |
tree | 6371132e393c80fc5c26655dab9a9961f9d96412 /toys/other/readahead.c | |
parent | 46ddf0e34b03f7711a9c80f7a70dc8cbf732f782 (diff) | |
download | toybox-561478541dbeb92e2c82c2fda7b43461293938e9.tar.gz |
Fixups for the android/bionic build probes patch.
The CFG_* symbols are always defined so if() can use them as compile-time
constants, so don't if defined() them.
Doing USE_BLAH() around variable definitions opens up the same potential for
config-dependent build breaks as #ifdefs do, just make the whole command
depend on the symbol for now, factor out the utmpx infrastructure later.
The PTY probe was always failing because it used NULL without #including
the header that defines it. Substitute 0 instead.
Diffstat (limited to 'toys/other/readahead.c')
0 files changed, 0 insertions, 0 deletions