Unverified Commit e7a7a169 authored by Louis Dionne's avatar Louis Dionne Committed by GitHub
Browse files

[libc++] Fix __threading_support when used with C11 threading (#66780)

Since we are defining these typedefs inside namespace std, we need to
refer to ::once_flag (the C Standard Library version). Otherwise
'once_flag' refers to 'std::once_flag', and that's not something we can
pass to the C Standard Library '::call_once()' function later on.
parent 2d1e8a03
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