Support/Windows/FileSystem: Fix MinGW build.

llvm-svn: 120820
This commit is contained in:
Michael J. Spencer 2010-12-03 18:03:28 +00:00
parent c20a0325f3
commit 6025247132
1 changed files with 6 additions and 0 deletions

View File

@ -23,6 +23,12 @@
#include <sys/stat.h>
#include <sys/types.h>
// MinGW doesn't define this.
#ifndef _ERRNO_T_DEFINED
#define _ERRNO_T_DEFINED
typedef int errno_t;
#endif
using namespace llvm;
namespace {