mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-24 04:09:45 +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
|
||||
#include <string.h>
|
||||
|
||||
#if HAVE_ERRNO_H
|
||||
#include <errno.h>
|
||||
#endif
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
//=== WARNING: Implementation here must contain only TRULY operating system
|
||||
//=== independent code.
|
||||
@ -26,7 +30,6 @@ namespace llvm {
|
||||
namespace sys {
|
||||
|
||||
#if HAVE_ERRNO_H
|
||||
#include <errno.h>
|
||||
std::string StrError() {
|
||||
return StrError(errno);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user