This is an archive of the discontinued LLVM Phabricator instance.

[scudo] Do not include sanitizer_posix.h if not on a Posix platform
ClosedPublic

Authored by cryptoad on Oct 16 2017, 8:51 AM.

Details

Summary

Move the sanitizer_posix.h include within the SANITIZER_ANDROID #if,
otherwise this errors when built on non-Posix platforms (eg: Fuchsia).

Event Timeline

cryptoad created this revision.Oct 16 2017, 8:51 AM
alekseyshl accepted this revision.Oct 16 2017, 10:03 AM
This revision is now accepted and ready to land.Oct 16 2017, 10:03 AM
cryptoad closed this revision.Oct 16 2017, 10:06 AM