HomePhabricator

system_error: use strerror_r only for threaded code

Description

system_error: use strerror_r only for threaded code

When building libc++ without threading, strerror_r is not used. Define
the code only when threading is enabled. This allows us to build
system_error for Windows, which ATM doesn't build with threading.

Details

Committed
compnerdDec 31 2016, 1:24 PM
Parents
rL290790: [ValueTracking] add tests for known-nonnull-at; NFC
Branches
Unknown
Tags
Unknown