[all-commits] [llvm/llvm-project] 109bff: [libcxx] Do not include `langinfo.h` when using th...

Joseph Huber via All-commits all-commits at lists.llvm.org
Sat Aug 31 05:08:03 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 109bff1f1656e87933f7650f9a77dedeb0c8688c
      https://github.com/llvm/llvm-project/commit/109bff1f1656e87933f7650f9a77dedeb0c8688c
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-08-31 (Sat, 31 Aug 2024)

  Changed paths:
    M libcxx/src/locale.cpp

  Log Message:
  -----------
  [libcxx] Do not include `langinfo.h` when using the LLVM C library (#106634)

Summary:
The `langinfo.h` header is a POSIX extension, so ideally we would be
able to build the C++ library without it. Currently the LLVM C library
doesn't support / provide it. This allows us to build the C++ library
with locales enabled. We can either disable it here, or just provide
stubs that do nothing as in
https://github.com/llvm/llvm-project/pull/106620.



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