summaryrefslogtreecommitdiffstats
path: root/llvm/runtime/libprofile/GCDAProfiling.c
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
commit645ad1d4ae1bf66170aee713097d362180617097 (patch)
tree8bf1a1333f221d51c3605f81c8366e6070343cbf /llvm/runtime/libprofile/GCDAProfiling.c
parent2a4812fd0463d5320fe7871df67103219818bbb5 (diff)
downloadbcm5719-llvm-645ad1d4ae1bf66170aee713097d362180617097.tar.gz
bcm5719-llvm-645ad1d4ae1bf66170aee713097d362180617097.zip
Include direct.h for _mkdir on mingw32 too.
llvm-svn: 141495
Diffstat (limited to 'llvm/runtime/libprofile/GCDAProfiling.c')
-rw-r--r--llvm/runtime/libprofile/GCDAProfiling.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/runtime/libprofile/GCDAProfiling.c b/llvm/runtime/libprofile/GCDAProfiling.c
index ac3a62c79f4..4ffb12b15eb 100644
--- a/llvm/runtime/libprofile/GCDAProfiling.c
+++ b/llvm/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
OpenPOWER on IntegriCloud