Skip to content

Commit

Permalink
druntime: Add version(GNU) imports to rt.deh and sections modules
Browse files Browse the repository at this point in the history
  • Loading branch information
ibuclaw committed Jan 19, 2025
1 parent 37dddf5 commit 5c47e5c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion druntime/src/rt/deh.d
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ extern (C)
}
}

version (Win32)
version (GNU)
public import gcc.deh;
else version (Win32)
public import rt.deh_win32;
else version (Win64)
public import rt.deh_win64_posix;
Expand Down
4 changes: 3 additions & 1 deletion druntime/src/rt/sections.d
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ else version (TVOS)
else version (WatchOS)
version = Darwin;

version (CRuntime_Glibc)
version (GNU)
public import gcc.sections;
else version (CRuntime_Glibc)
public import rt.sections_elf_shared;
else version (CRuntime_Musl)
public import rt.sections_elf_shared;
Expand Down

0 comments on commit 5c47e5c

Please sign in to comment.