[llvm-commits] [llvm] r141495 - /llvm/trunk/runtime/libprofile/GCDAProfiling.c

Benjamin Kramer benny.kra at googlemail.com
Sat Oct 8 08:49:19 PDT 2011


Author: d0k
Date: Sat Oct  8 10:49:19 2011
New Revision: 141495

URL: http://llvm.org/viewvc/llvm-project?rev=141495&view=rev
Log:
Include direct.h for _mkdir on mingw32 too.

Modified:
    llvm/trunk/runtime/libprofile/GCDAProfiling.c

Modified: llvm/trunk/runtime/libprofile/GCDAProfiling.c
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/runtime/libprofile/GCDAProfiling.c?rev=141495&r1=141494&r2=141495&view=diff
==============================================================================
--- llvm/trunk/runtime/libprofile/GCDAProfiling.c (original)
+++ llvm/trunk/runtime/libprofile/GCDAProfiling.c Sat Oct  8 10:49:19 2011
@@ -26,7 +26,7 @@
 #include <string.h>
 #include <sys/stat.h>
 #include <sys/types.h>
-#ifdef _MSC_VER
+#ifdef _WIN32
 #include <direct.h>
 #endif
 





More information about the llvm-commits mailing list