[PATCH] D112081: Define __STDC_NO_THREADS__ when targeting windows-msvc (PR48704)

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 19 08:55:04 PDT 2021


aaron.ballman added a comment.

Thanks for this! Should we similarly handle `__STDC_NO_ATOMICS__`, `__STDC_NO_COMPLEX__`, et al at the same time? Also, how should we handle `__STDC_VERSION__`? We set that in all C modes, but MSVC only sets it when passed /std:c11, etc explicitly.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D112081/new/

https://reviews.llvm.org/D112081



More information about the cfe-commits mailing list