Skip to content

Commit

Permalink
Fix windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
gleocadie committed Feb 7, 2025
1 parent 2a946df commit 0bf6824
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
4 changes: 2 additions & 2 deletions global.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"sdk": {
"version": "9.0.102",
"version": "9.0.101",
"rollForward": "minor"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ CrashReporting::~CrashReporting()
ddog_crasht_OsInfo GetOsInfo()
{
auto osType = libdatadog::to_char_slice(
#ifdef _WIN32
#ifdef _WINDOWS
"Windows"
#elif MACOS
"macOS"
Expand All @@ -116,7 +116,13 @@ ddog_crasht_OsInfo GetOsInfo()
);

auto architecture = libdatadog::to_char_slice(
#ifdef AMD64
#ifdef _WINDOWS
#ifdef BIT64
"x86_64"
#else
"x86"
#endif
#elif AMD64
"x86_64"
#elif X86
"x86"
Expand Down
2 changes: 1 addition & 1 deletion tracer/build/_build/Build.Profiler.Steps.cs
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ async Task DownloadAndExtractVcpkg(AbsolutePath destinationFolder)
.Unlisted()
.Description("Test that the Native wrapper symbols haven't changed")
.After(CompileNativeWrapper)
.OnlyWhenStatic(() => IsLinux)
.OnlyWhenStatic(() => IsLinux && AsUniversal)
.Executes(() =>
{
var (arch, _) = GetUnixArchitectureAndExtension();
Expand Down

0 comments on commit 0bf6824

Please sign in to comment.