Prefix generic_category with std::.
[oota-llvm.git] / lib / Support / Windows / Host.inc
index cce82349cd6131c4dca5f52c37bb5e374e051359..0c02bf9368148e3fd832f4b30a524fdb22e31efe 100644 (file)
 //
 //===----------------------------------------------------------------------===//
 
-#include "Windows.h"
+#include "WindowsSupport.h"
 #include <cstdio>
 #include <string>
 
 using namespace llvm;
 
 std::string sys::getDefaultTargetTriple() {
-  return LLVM_DEFAULT_TARGET_TRIPLE;
-}
-
-std::string sys::getHostTriple() {
-  return LLVM_HOST_TRIPLE;
+  return Triple::normalize(LLVM_DEFAULT_TARGET_TRIPLE);
 }