forked from OSchip/llvm-project
Oops, I #included errno.h from inside the llvm::sys namespace.
llvm-svn: 74834
This commit is contained in:
parent
dce892e128
commit
5a2e52182a
|
@ -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