[libc++abi] Guard include of <unistd.h> behind __has_include
authorLouis Dionne <ldionne.2@gmail.com>
Wed, 20 Oct 2021 21:36:13 +0000 (17:36 -0400)
committerLouis Dionne <ldionne.2@gmail.com>
Wed, 20 Oct 2021 21:37:19 +0000 (17:37 -0400)
commitff5050a3a4f2965aaddfce2f6b182476c11d78f3
tree32139d9ceb923cc7d759483199176cfc326749ce
parent8e4ae603d6ec7658df86302d122fb24968524164
[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.
libcxxabi/src/cxa_guard_impl.h