This is an archive of the discontinued LLVM Phabricator instance.

[libc++] Clean up `_LIBCPP_HAS_NO_PLATFORM_WAIT` macro
ClosedPublic

Authored by jloser on Aug 25 2022, 8:33 PM.

Details

Summary

As the comment suggests, _LIBCPP_HAS_NO_PLATFORM_WAIT is not documented or
defined anywhere internally in the build system. It's a direct define in terms
of _LIBCPP_HAS_NO_THREADS. So, remove _LIBCPP_HAS_NO_PLATFORM_WAIT and use
_LIBCPP_HAS_NO_THREADS instead to control the desired behavior.

Diff Detail

Event Timeline

jloser created this revision.Aug 25 2022, 8:33 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 25 2022, 8:33 PM
jloser requested review of this revision.Aug 25 2022, 8:33 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 25 2022, 8:33 PM
Herald added a reviewer: Restricted Project. · View Herald Transcript
Mordante accepted this revision as: Mordante.Aug 30 2022, 9:10 AM
Mordante added 1 blocking reviewer(s): ldionne.

Nice cleanup, LGTM! However I really like @ldionne to have a look too.

ldionne accepted this revision.Sep 13 2022, 10:05 AM
This revision is now accepted and ready to land.Sep 13 2022, 10:05 AM
This revision was automatically updated to reflect the committed changes.