Skip to content

Commit de5c49f

Browse files
committed
[libc++] Restore order of includes on Windows to unbreak the build
As reported in [1], it looks like the Windows headers are picky about the order in which they are included, and the clang-format change broke the build by reordering the headers. [1]: #74334 (comment)
1 parent 00edad1 commit de5c49f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libcxx/src/support/win32/thread_win32.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111

1212
#define NOMINMAX
1313
#define WIN32_LEAN_AND_MEAN
14-
#include <fibersapi.h>
15-
#include <process.h>
1614
#include <windows.h>
15+
#include <process.h>
16+
#include <fibersapi.h>
1717

1818
_LIBCPP_BEGIN_NAMESPACE_STD
1919

0 commit comments

Comments
 (0)