diff options
Diffstat (limited to 'lib/Basic/Targets.cpp')
-rw-r--r-- | lib/Basic/Targets.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp index 84a245a4ef..f331c50a21 100644 --- a/lib/Basic/Targets.cpp +++ b/lib/Basic/Targets.cpp @@ -129,7 +129,7 @@ static void getDarwinDefines(MacroBuilder &Builder, const LangOptions &Opts, } } else { Triple.getOSVersion(Maj, Min, Rev); - PlatformName = Triple.getOSName(); + PlatformName = llvm::Triple::getOSTypeName(Triple.getOS()); } } |