Skip to content

Commit 1285791

Browse files
committed
fix bazel 3/x
1 parent b476b5a commit 1285791

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/datadog/platform_util_windows.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
#include <processthreadsapi.h>
1+
// clang-format off
22
#include <windows.h>
3+
// clang-format on
4+
#include <processthreadsapi.h>
35
#include <winsock.h>
46

57
#include <cassert>
@@ -19,7 +21,7 @@ std::tuple<std::string, std::string> get_windows_info() {
1921
// application manifest, which is the lowest version supported by the
2022
// application. Use `RtlGetVersion` to obtain the accurate OS version
2123
// regardless of the manifest.
22-
using RtlGetVersion = auto(*)(LPOSVERSIONINFOEXW)->NTSTATUS;
24+
using RtlGetVersion = auto (*)(LPOSVERSIONINFOEXW)->NTSTATUS;
2325

2426
RtlGetVersion func =
2527
(RtlGetVersion)GetProcAddress(GetModuleHandleA("ntdll"), "RtlGetVersion");

0 commit comments

Comments
 (0)