summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2011-10-08 15:49:19 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2011-10-08 15:49:19 +0000
commit70b582ab9c6d69ff1ba14c90c016da61477fc9dc (patch)
tree8316d84703f09ba62cc2d0b29b7b429e0a903e81 /runtime
parent3ae9cf5ba4934bae9576e9aaabf4f401901466f8 (diff)
downloadllvm-70b582ab9c6d69ff1ba14c90c016da61477fc9dc.tar.gz
llvm-70b582ab9c6d69ff1ba14c90c016da61477fc9dc.tar.bz2
llvm-70b582ab9c6d69ff1ba14c90c016da61477fc9dc.tar.xz
Include direct.h for _mkdir on mingw32 too.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141495 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'runtime')
-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 ac3a62c79f..4ffb12b15e 100644
--- a/runtime/libprofile/GCDAProfiling.c
+++ b/runtime/libprofile/GCDAProfiling.c
@@ -26,7 +26,7 @@
#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>
-#ifdef _MSC_VER
+#ifdef _WIN32
#include <direct.h>
#endif