commit | f1f83e9bdd78da927c5330437b1d01c2c98ed47d | [log] [tgz] |
---|---|---|
author | Mara Sophie Grosch <littlefox@lf-net.org> | Mon Apr 12 14:19:51 2021 -0400 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Apr 12 11:31:12 2021 -0700 |
tree | 5b93c5f2f7401bb3687fd333e581ade44ddb20ad | |
parent | 9ce2cddd5e6ffa54687788b1ebef7d0bd837f84e [diff] |
[libc++] Move checks for newlib to actually work The checks did not work in __config, since no header defining `_NEWLIB_VERSION` was included before. This patch moves the two checks for newlib to the headers that actually need it - and after they already include relevant headers. Differential Revision: https://reviews.llvm.org/D79888 GitOrigin-RevId: 8deaa4a1471dac19c717a320eec9956843a8c479