LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File sysroot_include.diff of Package mingw32-cross-gcc-bootstrap (Project home:Ximi1970:Toolchains:MinGW:2.0.0:win32)

--- gcc-4.6.0/gcc/config/i386/mingw32.h	2010-04-27 22:14:19.000000000 +0200
+++ gcc-4.6.0/gcc/config/i386/mingw32.h	2010-09-23 22:26:44.000000000 +0200
@@ -69,6 +69,8 @@
 #define STANDARD_INCLUDE_DIR "/mingw/include"
 #undef STANDARD_INCLUDE_COMPONENT
 #define STANDARD_INCLUDE_COMPONENT "MINGW"
+#undef STANDARD_INCLUDE_DIR2
+#define STANDARD_INCLUDE_DIR2 "/include"
 
 #undef CPP_SPEC
 #define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{mthreads:-D_MT}"
--- gcc-4.6.0/gcc/cppdefault.c	2007-07-26 10:37:01.000000000 +0200
+++ gcc-4.6.0/gcc/cppdefault.c	2010-09-23 22:26:44.000000000 +0200
@@ -37,6 +37,7 @@
 # undef LOCAL_INCLUDE_DIR
 # undef SYSTEM_INCLUDE_DIR
 # undef STANDARD_INCLUDE_DIR
+# undef STANDARD_INCLUDE_DIR2
 #else
 # undef CROSS_INCLUDE_DIR
 #endif
@@ -97,6 +98,10 @@
     /* /usr/include comes dead last.  */
     { STANDARD_INCLUDE_DIR, STANDARD_INCLUDE_COMPONENT, 0, 0, 1, 0 },
 #endif
+#ifdef STANDARD_INCLUDE_DIR2
+   /* Optional standard include dir.  */
+   { STANDARD_INCLUDE_DIR2, STANDARD_INCLUDE_COMPONENT, 0, 0, 1, 0 },
+#endif
     { 0, 0, 0, 0, 0, 0 }
   };
 #endif /* no INCLUDE_DEFAULTS */