HomePhabricator

Fix the build of thread.cpp on CloudABI.

Authored by ed on Feb 11 2017, 12:30 AM.

Description

Fix the build of thread.cpp on CloudABI.

CloudABI does provide unistd.h, but doesn't define unix. We need to
include this header file to make hardware_concurrency work.

llvm-svn: 294832

Details

Committed
edFeb 11 2017, 12:30 AM
Parents
rGafcf026d8119: [NFC] Fix style issues of lib/Transform/ScheduleOptimizer.cpp.
Branches
Unknown
Tags
Unknown