[Improved PATCH] corrects search order of directories for include files for gcc 3.2

2003-03-05 Thread Andre Bleau
This is a follow up to: http://cygwin.com/ml/cygwin/2003-03/msg00271.html I improved my patch so that /usr/include/w32api is not searched at all if -mno-win32 is specified. Search list would now be: gcc -mno-cygwin : (same as now) /usr/i686-pc-mingw32/lib/../../include/w32api /usr/lib/gcc-lib/

[PATCH] corrects search order of directories for include files for gcc 3.2

2003-03-04 Thread Andre Bleau
I observed that with Cygwin's gcc 3.2, /usr/include/w32api is searched before /usr/include, even when gcc is called without -mwin32 nor -mno-cygwin. If somes files exist with the same name in both /usr/include/w32api and /usr/include, such as mapi.h or the files in the GL subdirectory, the late