[all-commits] [llvm/llvm-project] 8deaa4: [libc++] Move checks for newlib to actually work

Mara Sophie Grosch via All-commits all-commits at lists.llvm.org
Mon Apr 12 11:21:31 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8deaa4a1471dac19c717a320eec9956843a8c479
      https://github.com/llvm/llvm-project/commit/8deaa4a1471dac19c717a320eec9956843a8c479
  Author: Mara Sophie Grosch <littlefox at lf-net.org>
  Date:   2021-04-12 (Mon, 12 Apr 2021)

  Changed paths:
    M libcxx/include/__config
    M libcxx/include/fstream
    M libcxx/include/locale

  Log Message:
  -----------
  [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




More information about the All-commits mailing list