Commit c8bf9618 authored by Saleem Abdulrasool's avatar Saleem Abdulrasool
Browse files

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.

llvm-svn: 290791
parent 5865d12e
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment