aboutsummaryrefslogtreecommitdiff
path: root/lib/portability.h
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2018-10-02 14:06:23 -0700
committerRob Landley <rob@landley.net>2018-10-05 11:40:50 -0500
commit966341c88859fa13d268194fd52643377e039d6f (patch)
treeac606caed95af7cf4021075d2d317e797170d8e0 /lib/portability.h
parent92b359f00057b741b58c093968b7267728ea56aa (diff)
downloadtoybox-966341c88859fa13d268194fd52643377e039d6f.tar.gz
getconf: fix glibc NPROCESSORS_ONLN.
glibc doesn't have _XOPEN_UUCP (though bionic does), which meant that the generated array of values was out of sync with the hand-written array of names. This patch removes that by using a unified array and the preprocessor. A side benefit of this for me is that it makes toybox easier to integrate in the AOSP build system (the less shell script magic, the better).
Diffstat (limited to 'lib/portability.h')
0 files changed, 0 insertions, 0 deletions