mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
Also change header guards to WPI header guards. Remove StringRef::c_str() customization, replacing the handful of uses with Twine or SmallString. TCPStream: Include errno.h and make Windows includes lowercase for consistency. Upstream LLVM version: eb4186cca7924fb1706357545311a2fa3de40c59
20 lines
510 B
C++
20 lines
510 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 WPIUTIL_WPI_WINDOWSERROR_H
|
|
#define WPIUTIL_WPI_WINDOWSERROR_H
|
|
|
|
#include <system_error>
|
|
|
|
namespace wpi {
|
|
std::error_code mapWindowsError(unsigned EV);
|
|
}
|
|
|
|
#endif
|