mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-25 22:12:57 +02:00
1fd39ed8cc
* MingW needs mapWindowsError. * MingW is missing some entries in std::errc, but we don't use them. llvm-svn: 210725
20 lines
515 B
C++
20 lines
515 B
C++
//===-- WindowsError.h - Support for mapping windows errors to posix-------===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLVM_SUPPORT_WINDOWS_ERROR_H
|
|
#define LLVM_SUPPORT_WINDOWS_ERROR_H
|
|
|
|
#include <system_error>
|
|
|
|
namespace llvm {
|
|
std::error_code mapWindowsError(unsigned EV);
|
|
}
|
|
|
|
#endif
|