mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
Fix build for (some versions of?) MinGW. Patch by Ruben Van Boxem.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133741 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f05589d043
commit
aeebc35886
@ -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…
x
Reference in New Issue
Block a user