[all-commits] [llvm/llvm-project] 1112b7: [libcxx][AIX] Explicitly include localedef.h in lo...

David Tenty via All-commits all-commits at lists.llvm.org
Tue Oct 12 09:00:17 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1112b7bad851c78af2159d39c7bff670a9c77da1
      https://github.com/llvm/llvm-project/commit/1112b7bad851c78af2159d39c7bff670a9c77da1
  Author: David Tenty <daltenty at ibm.com>
  Date:   2021-10-12 (Tue, 12 Oct 2021)

  Changed paths:
    M libcxx/src/locale.cpp

  Log Message:
  -----------
  [libcxx][AIX] Explicitly include localedef.h in locale.cpp

This header was transitively included to provide the definition of
__lc_ctype_ptr that we use on AIX, but that is fragile as it depends on
the settings of compatibility macros, so we explicitly include it here
to avoid that scenario.

Reviewed By: #libc, ldionne

Differential Revision: https://reviews.llvm.org/D111239




More information about the All-commits mailing list