Support/Windows/FileSystem: Fix MinGW build.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120820 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Michael J. Spencer 2010-12-03 18:03:28 +00:00
parent 3920d3b4f4
commit af45fc005b

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 {