projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3920d3b
)
Support/Windows/FileSystem: Fix MinGW build.
author
Michael J. Spencer
<bigcheesegs@gmail.com>
Fri, 3 Dec 2010 18:03:28 +0000
(18:03 +0000)
committer
Michael J. Spencer
<bigcheesegs@gmail.com>
Fri, 3 Dec 2010 18:03:28 +0000
(18:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120820
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Support/Windows/PathV2.inc
patch
|
blob
|
history
diff --git
a/lib/Support/Windows/PathV2.inc
b/lib/Support/Windows/PathV2.inc
index e98150713bb1644f651ec971e3e8659904fd7f96..5b2e288f816ae6dd18fb080a03f8477f932c6fcf 100644
(file)
--- a/
lib/Support/Windows/PathV2.inc
+++ b/
lib/Support/Windows/PathV2.inc
@@
-23,6
+23,12
@@
#include <sys/stat.h>
#include <sys/types.h>
+// MinGW doesn't define this.
+#ifndef _ERRNO_T_DEFINED
\r
+#define _ERRNO_T_DEFINED
\r
+typedef int errno_t;
\r
+#endif
+
using namespace llvm;
namespace {