diff options
author | Elliott Hughes <enh@google.com> | 2018-11-30 13:05:00 -0800 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2018-11-30 16:36:52 -0600 |
commit | c6ee3c269e06fb0cfa61e759ed84b85e038593c7 (patch) | |
tree | df437dee0e2e91ac5bbc58191654d21708ecc210 /main.c | |
parent | b8878682a49fcdd5952a9b8d7fc57eb1508a8adc (diff) | |
download | toybox-c6ee3c269e06fb0cfa61e759ed84b85e038593c7.tar.gz |
macOS: move struct sysinfo out of GLOBALS.
Even if we don't build ps, we can't have a Linux-only struct in GLOBALS.
The obvious alternative to this would be to have a fake struct sysinfo
in lib/portability.h. Since having a real macOS replacement for
sysinfo(2) seems unlikely at this point, I went this route instead.
Diffstat (limited to 'main.c')
0 files changed, 0 insertions, 0 deletions