mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 21:00:29 +00:00
Fix build for (some versions of?) MinGW. Patch by Ruben Van Boxem.
llvm-svn: 133741
This commit is contained in:
parent
ed34559fcd
commit
2c7773157c
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user