[all-commits] [llvm/llvm-project] d420bf: [libc++] Guard include of <features.h> with __has_...

Louis Dionne via All-commits all-commits at lists.llvm.org
Thu Feb 20 15:26:50 PST 2025


  Branch: refs/heads/release/20.x
  Home:   https://github.com/llvm/llvm-project
  Commit: d420bf8a299ad13ac7a11971ea1430fc0edebcea
      https://github.com/llvm/llvm-project/commit/d420bf8a299ad13ac7a11971ea1430fc0edebcea
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2025-02-20 (Thu, 20 Feb 2025)

  Changed paths:
    M libcxx/include/__configuration/platform.h

  Log Message:
  -----------
  [libc++] Guard include of <features.h> with __has_include (#127691)

Some configurations define __AMDGPU__ or __NVPTX__ on platforms that
don't provide <features.h>, such as CUDA on Mac.

(cherry picked from commit 2c8b1248513624e89b510397224f0f405116f3d3)



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