[cfe-commits] r84007 - /cfe/trunk/lib/Frontend/InitHeaderSearch.cpp

John Thompson John.Thompson.JTSoftware at gmail.com
Tue Oct 13 11:51:33 PDT 2009


Author: jtsoftware
Date: Tue Oct 13 13:51:32 2009
New Revision: 84007

URL: http://llvm.org/viewvc/llvm-project?rev=84007&view=rev
Log:
Fixes pth.c on Windows.

Modified:
    cfe/trunk/lib/Frontend/InitHeaderSearch.cpp

Modified: cfe/trunk/lib/Frontend/InitHeaderSearch.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/InitHeaderSearch.cpp?rev=84007&r1=84006&r2=84007&view=diff

==============================================================================
--- cfe/trunk/lib/Frontend/InitHeaderSearch.cpp (original)
+++ cfe/trunk/lib/Frontend/InitHeaderSearch.cpp Tue Oct 13 13:51:32 2009
@@ -365,14 +365,13 @@
           break;
       }
     }
-
-    AddPath("/usr/local/include", System, false, false, false);
-
-    AddPath("/usr/include", System, false, false, false);
-    AddPath("/System/Library/Frameworks", System, true, false, true);
-    AddPath("/Library/Frameworks", System, true, false, true);
     break;
   }
+
+  AddPath("/usr/local/include", System, false, false, false);
+  AddPath("/usr/include", System, false, false, false);
+  AddPath("/System/Library/Frameworks", System, true, false, true);
+  AddPath("/Library/Frameworks", System, true, false, true);
 }
 
 void InitHeaderSearch::AddDefaultEnvVarPaths(const LangOptions &Lang) {





More information about the cfe-commits mailing list