aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/libprofile/GCDAProfiling.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/libprofile/GCDAProfiling.c')
-rw-r--r--runtime/libprofile/GCDAProfiling.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/libprofile/GCDAProfiling.c b/runtime/libprofile/GCDAProfiling.c
index 09a1aec..e066b22 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. */