From 2c7773157c2b6e3340e550424a64dd67c30faa6d Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Thu, 23 Jun 2011 18:24:27 +0000 Subject: [PATCH] Fix build for (some versions of?) MinGW. Patch by Ruben Van Boxem. llvm-svn: 133741 --- runtime/libprofile/GCDAProfiling.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/libprofile/GCDAProfiling.c b/runtime/libprofile/GCDAProfiling.c index 09a1aec84ef..e066b227c5c 100644 --- 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. */