]> granicus.if.org Git - clang/commitdiff
Unbreak mingw32. Maybe there should be something like libClandSystem? :)
authorAnton Korobeynikov <asl@math.spbu.ru>
Tue, 16 Oct 2007 09:09:44 +0000 (09:09 +0000)
committerAnton Korobeynikov <asl@math.spbu.ru>
Tue, 16 Oct 2007 09:09:44 +0000 (09:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43029 91177308-0d34-0410-b5e6-96231b3b80d8

Basic/SourceManager.cpp

index cc1312f049951294b357fa901b62f6b880f238f3..24aba4549b6cf0a7276bccb859e3de0cffa9eab7 100644 (file)
@@ -42,7 +42,7 @@ SourceManager::~SourceManager() {
 // FIXME: REMOVE THESE
 #include <unistd.h>
 #include <sys/types.h>
-#if !defined(_MSC_VER)
+#if !defined(_MSC_VER) && !defined(__MINGW32__)
 #include <sys/uio.h>
 #include <sys/fcntl.h>
 #else