cling/patches/clang-HeaderSearch-cygwin.diff
Axel Naumann 05d4e8f8d9 Improve patch paths.
git-svn-id: http://root.cern.ch/svn/root/trunk@49365 27541ba8-7e3a-0410-8455-c3a389f83636
2013-04-26 12:11:20 +00:00

13 lines
527 B
Diff

--- ./tools/clang/lib/Frontend/InitHeaderSearch.cpp 2013-04-11 09:34:53.657168179 +0200
+++ ./tools/clang/lib/Frontend/InitHeaderSearch.cpp 2013-04-24 19:40:13.977500793 +0200
@@ -307,7 +307,8 @@
case llvm::Triple::RTEMS:
break;
case llvm::Triple::Cygwin:
- AddPath("/usr/include/w32api", System, false);
+ // The headers in w32api/ are not cygwin-compatible (but native)
+ //AddPath("/usr/include/w32api", System, false);
break;
case llvm::Triple::MinGW32: {
// mingw-w64 crt include paths