diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-06-12 17:49:35 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-06-12 17:49:35 +0000 |
commit | daf73d60ef090f8d00aa8240ec949f37cf75f79b (patch) | |
tree | 71b863ba70a475470c43506997332d57a97bf7a0 /lib | |
parent | d5132f907367b43d43108bd4367dbbcb650f98ce (diff) | |
download | llvm-daf73d60ef090f8d00aa8240ec949f37cf75f79b.tar.gz llvm-daf73d60ef090f8d00aa8240ec949f37cf75f79b.tar.bz2 llvm-daf73d60ef090f8d00aa8240ec949f37cf75f79b.tar.xz |
Trying to fix the windows build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210805 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Support/Windows/WindowsSupport.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/Support/Windows/WindowsSupport.h b/lib/Support/Windows/WindowsSupport.h index ca36812b78..f68835b1a7 100644 --- a/lib/Support/Windows/WindowsSupport.h +++ b/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. |