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

Louis Dionne via All-commits all-commits at lists.llvm.org
Wed Feb 19 05:22:19 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2c8b1248513624e89b510397224f0f405116f3d3
      https://github.com/llvm/llvm-project/commit/2c8b1248513624e89b510397224f0f405116f3d3
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2025-02-19 (Wed, 19 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.



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