mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-21 19:20:50 +00:00
Oops, I #included errno.h from inside the llvm::sys namespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74834 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9cc8fa72a3
commit
4733e747d1
@ -17,6 +17,10 @@
|
|||||||
#if HAVE_STRING_H
|
#if HAVE_STRING_H
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#if HAVE_ERRNO_H
|
||||||
|
#include <errno.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
//=== WARNING: Implementation here must contain only TRULY operating system
|
//=== WARNING: Implementation here must contain only TRULY operating system
|
||||||
//=== independent code.
|
//=== independent code.
|
||||||
@ -26,7 +30,6 @@ namespace llvm {
|
|||||||
namespace sys {
|
namespace sys {
|
||||||
|
|
||||||
#if HAVE_ERRNO_H
|
#if HAVE_ERRNO_H
|
||||||
#include <errno.h>
|
|
||||||
std::string StrError() {
|
std::string StrError() {
|
||||||
return StrError(errno);
|
return StrError(errno);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user