We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ecced12 commit 7db2888Copy full SHA for 7db2888
1 file changed
src/win32_shim.h
@@ -1,6 +1,11 @@
1
#ifndef WIN32_SHIM_H
2
#define WIN32_SHIM_H
3
4
+// DO NOT REMOVE: Clang on Windows with --driver-mode=cl does NOT provide
5
+// <threads.h>. MSVC does since VS 2015, but the UCRT shipped with Clang-cl
6
+// lacks a conforming C11 threads implementation. This file reimplements
7
+// <threads.h> using Win32 primitives and is required for all builds.
8
+
9
#ifdef _WIN32
10
11
#define WIN32_LEAN_AND_MEAN
0 commit comments