Skip to content

Commit

Permalink
Fix build for (some versions of?) MinGW. Patch by Ruben Van Boxem.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133741 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
eefriedman committed Jun 23, 2011
1 parent f05589d commit aeebc35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/libprofile/GCDAProfiling.c
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down

0 comments on commit aeebc35

Please sign in to comment.