Skip to content

Commit

Permalink
Fix build of winnt-d.cc when D language is enabled. (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
Blackhex authored and github-actions committed Jan 16, 2025
1 parent 554c5db commit 620b1dd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion gcc/config/mingw/winnt-d.cc
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,14 @@ winnt_d_os_builtins (void)
d_add_builtin_version ("Windows");
d_add_builtin_version ("MinGW");

#if defined(TARGET_AARCH64_MS_ABI)
d_add_builtin_version ("WinArm64");
#else
if (TARGET_64BIT && ix86_abi == MS_ABI)
d_add_builtin_version ("Win64");
else if (!TARGET_64BIT)
d_add_builtin_version ("Win32");

#endif
d_add_builtin_version ("CRuntime_Microsoft");
}

Expand Down

0 comments on commit 620b1dd

Please sign in to comment.