[all-commits] [llvm/llvm-project] ff5050: [libc++abi] Guard include of <unistd.h> behind __h...

Louis Dionne via All-commits all-commits at lists.llvm.org
Wed Oct 20 14:37:33 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ff5050a3a4f2965aaddfce2f6b182476c11d78f3
      https://github.com/llvm/llvm-project/commit/ff5050a3a4f2965aaddfce2f6b182476c11d78f3
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2021-10-20 (Wed, 20 Oct 2021)

  Changed paths:
    M libcxxabi/src/cxa_guard_impl.h

  Log Message:
  -----------
  [libc++abi] Guard include of <unistd.h> behind __has_include

This doesn't change anything on platforms that have <unistd.h>, but
it will allow this file to compile on platforms that do not.




More information about the All-commits mailing list