void-packages/srcpkgs/dmd/files/musl.patch
2019-03-24 21:29:59 -03:00

11 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)