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:
f05589d
)
Fix build for (some versions of?) MinGW. Patch by Ruben Van Boxem.
author
Eli Friedman
<eli.friedman@gmail.com>
Thu, 23 Jun 2011 18:24:27 +0000
(18:24 +0000)
committer
Eli Friedman
<eli.friedman@gmail.com>
Thu, 23 Jun 2011 18:24:27 +0000
(18:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133741
91177308
-0d34-0410-b5e6-
96231b3b80d8
runtime/libprofile/GCDAProfiling.c
patch
|
blob
|
history
diff --git
a/runtime/libprofile/GCDAProfiling.c
b/runtime/libprofile/GCDAProfiling.c
index 09a1aec84ef89353b31a077c8aa11acbb5ebe821..e066b227c5c183922215a9975261097257ffdcb1 100644
(file)
--- a/
runtime/libprofile/GCDAProfiling.c
+++ b/
runtime/libprofile/GCDAProfiling.c
@@
-89,7
+89,7
@@
static void recursive_mkdir(const char *filename) {
pathname = malloc(i + 1);
strncpy(pathname, filename, i);
pathname[i] = '\0';
-#ifdef _
MSC_VER
+#ifdef _
WIN32
_mkdir(pathname);
#else
mkdir(pathname, 0750); /* some of these will fail, ignore it. */