diff options
author | Martin Storsjö <martin@martin.st> | 2025-07-31 21:54:09 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-31 21:54:09 +0300 |
commit | 1c60b7da4f7af388b12f4f9b1d46bab0b65c5155 (patch) | |
tree | d7c549946927ac5c3cfa998e2551db42f7ac1f87 /clang/unittests/Basic/SourceManagerTest.cpp | |
parent | 17ab8a39763eefaa0bb8d5881f87503d95b44d39 (diff) | |
download | llvm-1c60b7da4f7af388b12f4f9b1d46bab0b65c5155.zip llvm-1c60b7da4f7af388b12f4f9b1d46bab0b65c5155.tar.gz llvm-1c60b7da4f7af388b12f4f9b1d46bab0b65c5155.tar.bz2 |
[Support] [Windows] Conditionally compile the SetThreadInformation calls (#151388)
The declarations for this API are missing in older mingw-w64 headers
(versions before v12). This API is also hidden if building with MS
WinSDK if targeting versions before Windows 10.
Check whether THREAD_POWER_THROTTLING_CURRENT_VERSION is defined before
using this API; this constant is a #define in both WinSDK and mingw-w64.
Diffstat (limited to 'clang/unittests/Basic/SourceManagerTest.cpp')
0 files changed, 0 insertions, 0 deletions