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