Use std::error_code instead of llvm::error_code.
[oota-llvm.git] / include / llvm / Support / WindowsError.h
1 //===-- WindowsError.h - Support for mapping windows errors to posix-------===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9
10 #ifndef LLVM_SUPPORT_WINDOWS_ERROR_H
11 #define LLVM_SUPPORT_WINDOWS_ERROR_H
12
13 #ifdef _MSC_VER
14 #include <system_error>
15
16 namespace llvm {
17 std::error_code mapWindowsError(unsigned EV);
18 }
19 #endif
20
21 #endif