Skip to content

Commit de1e51b

Browse files
authored
Includes must be in this order, windows.h first (#599)
1 parent d6471b9 commit de1e51b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/CppInterOp/DynamicLibraryManagerSymbol.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,11 @@
5353
#ifdef _WIN32
5454
#define WIN32_LEAN_AND_MEAN
5555
#define NOMINMAX
56+
// clang-format off
57+
#include <windows.h>
5658
#include <libloaderapi.h> // For GetModuleFileNameA
5759
#include <memoryapi.h> // For VirtualQuery
58-
#include <windows.h>
60+
// clang-format on
5961
#endif
6062

6163
namespace {

0 commit comments

Comments
 (0)