diff --git a/druntime/src/rt/deh.d b/druntime/src/rt/deh.d index eb8aee08614..cb80c769c6d 100644 --- a/druntime/src/rt/deh.d +++ b/druntime/src/rt/deh.d @@ -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; diff --git a/druntime/src/rt/sections.d b/druntime/src/rt/sections.d index 546f637cb55..ce5a6682dfe 100644 --- a/druntime/src/rt/sections.d +++ b/druntime/src/rt/sections.d @@ -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;