void-packages/srcpkgs/dmd/files/musl.patch

12 lines
553 B
Diff

--- dmd/src/dmd/mars.d
+++ dmd/src/dmd/mars.d
@@ -1101,7 +1101,7 @@ void addDefaultVersionIdentifiers(const ref Param params)
VersionCondition.addPredefinedGlobalIdent("Posix");
VersionCondition.addPredefinedGlobalIdent("linux");
VersionCondition.addPredefinedGlobalIdent("ELFv1");
- VersionCondition.addPredefinedGlobalIdent("CRuntime_Glibc");
+ VersionCondition.addPredefinedGlobalIdent("CRuntime_Musl");
VersionCondition.addPredefinedGlobalIdent("CppRuntime_Gcc");
}
else if (params.isOSX)