[all-commits] [llvm/llvm-project] ec17a7: [libc++] Add missing xlocale.h include on Apple an...

Louis Dionne via All-commits all-commits at lists.llvm.org
Fri Jul 26 00:29:58 PDT 2024


  Branch: refs/heads/release/19.x
  Home:   https://github.com/llvm/llvm-project
  Commit: ec17a7a75911547b4567bb16fca72042abd105ff
      https://github.com/llvm/llvm-project/commit/ec17a7a75911547b4567bb16fca72042abd105ff
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2024-07-26 (Fri, 26 Jul 2024)

  Changed paths:
    M libcxx/include/locale

  Log Message:
  -----------
  [libc++] Add missing xlocale.h include on Apple and FreeBSD (#99689)

The `<locale>` header uses `strtoll_l` and friends which are defined in
`<xlocale.h>` on these platforms. While this works via transitive
includes when modules are disabled, this doesn't work anymore if the
platforms are modularized properly.

(cherry picked from commit a55df237375e98cfc2520d5eb1a23b302ef02ba0)



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list