Include direct.h for _mkdir on mingw32 too.
authorBenjamin Kramer <benny.kra@googlemail.com>
Sat, 8 Oct 2011 15:49:19 +0000 (15:49 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sat, 8 Oct 2011 15:49:19 +0000 (15:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141495 91177308-0d34-0410-b5e6-96231b3b80d8

runtime/libprofile/GCDAProfiling.c

index ac3a62c79f4bbc7a1e60e5697e72cbc53a59310f..4ffb12b15ebfb5e4753221a54e8bcffa87b8fdcb 100644 (file)
@@ -26,7 +26,7 @@
 #include <string.h>
 #include <sys/stat.h>
 #include <sys/types.h>
-#ifdef _MSC_VER
+#ifdef _WIN32
 #include <direct.h>
 #endif