2016-09-25 17:49:01 -07:00
|
|
|
//===-- 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.
|
|
|
|
|
//
|
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
2018-05-22 23:31:08 -07:00
|
|
|
#ifndef WPIUTIL_WPI_WINDOWSERROR_H
|
|
|
|
|
#define WPIUTIL_WPI_WINDOWSERROR_H
|
2016-09-25 17:49:01 -07:00
|
|
|
|
|
|
|
|
#include <system_error>
|
|
|
|
|
|
2018-04-29 23:33:19 -07:00
|
|
|
namespace wpi {
|
2016-09-25 17:49:01 -07:00
|
|
|
std::error_code mapWindowsError(unsigned EV);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endif
|