aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-06-12 17:49:35 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-06-12 17:49:35 +0000
commit885719f02731dda9c53eb0a89784bc06918cdad7 (patch)
tree589e87f11f7d03692c55b7bd403832a60adcb32c /llvm/lib
parentc9340d2575b26302b5598c5f1ac474338d99f9a2 (diff)
downloadllvm-885719f02731dda9c53eb0a89784bc06918cdad7.zip
llvm-885719f02731dda9c53eb0a89784bc06918cdad7.tar.gz
llvm-885719f02731dda9c53eb0a89784bc06918cdad7.tar.bz2
Trying to fix the windows build.
llvm-svn: 210805
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Support/Windows/WindowsSupport.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/llvm/lib/Support/Windows/WindowsSupport.h b/llvm/lib/Support/Windows/WindowsSupport.h
index ca36812..f68835b 100644
--- a/llvm/lib/Support/Windows/WindowsSupport.h
+++ b/llvm/lib/Support/Windows/WindowsSupport.h
@@ -163,10 +163,9 @@ c_str(SmallVectorImpl<T> &str) {
namespace sys {
namespace windows {
-error_code UTF8ToUTF16(StringRef utf8,
- SmallVectorImpl<wchar_t> &utf16);
-error_code UTF16ToUTF8(const wchar_t *utf16, size_t utf16_len,
- SmallVectorImpl<char> &utf8);
+std::error_code UTF8ToUTF16(StringRef utf8, SmallVectorImpl<wchar_t> &utf16);
+std::error_code UTF16ToUTF8(const wchar_t *utf16, size_t utf16_len,
+ SmallVectorImpl<char> &utf8);
} // end namespace windows
} // end namespace sys
} // end namespace llvm.