mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-06 10:57:35 +03:00
Define CRuntime_{Bionic, Glibc}
This commit is contained in:
parent
eba9130881
commit
12aa09ed32
1 changed files with 2 additions and 0 deletions
|
@ -741,12 +741,14 @@ static void registerPredefinedTargetVersions() {
|
|||
if (global.params.targetTriple.getEnvironment() == llvm::Triple::Android)
|
||||
{
|
||||
VersionCondition::addPredefinedGlobalIdent("Android");
|
||||
VersionCondition::addPredefinedGlobalIdent("CRuntime_Bionic");
|
||||
}
|
||||
else
|
||||
#endif
|
||||
{
|
||||
VersionCondition::addPredefinedGlobalIdent("linux");
|
||||
VersionCondition::addPredefinedGlobalIdent("Posix");
|
||||
VersionCondition::addPredefinedGlobalIdent("CRuntime_Glibc");
|
||||
}
|
||||
break;
|
||||
case llvm::Triple::Haiku:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue