This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
cygwin patch?
- To: egcs at cygnus dot com
- Subject: cygwin patch?
- From: mrs at wrs dot com (Mike Stump)
- Date: Thu, 11 Jun 1998 20:25:38 -0700
I was compiling up a cygwin (b19) cross mingw32 (egcs 1.0.3a +
mingw32) compiler, and I needed this patch. In theory any cygwin
hosted compiler should be able to show the problem, if it is a
problem.
I was wondering if this has been fixed in the current sources? If
not, here's a patch... If it has, never mind...
1998-06-11 Mike Stump <mrs@wrs.com>
* protoize.c: Use dirent.h instead of sys/dir.h for cygwin b19.
Doing diffs in protoize.c.~1~:
*** protoize.c.~1~ Thu Jun 11 19:56:56 1998
--- protoize.c Thu Jun 11 20:12:58 1998
*************** Boston, MA 02111-1307, USA. */
*** 73,79 ****
#include <sys/types.h>
#include <sys/stat.h>
#if ! defined (_WIN32) || defined (__CYGWIN32__)
! #if defined(POSIX) || defined(CONCURRENT)
#include <dirent.h>
#else
#include <sys/dir.h>
--- 73,79 ----
#include <sys/types.h>
#include <sys/stat.h>
#if ! defined (_WIN32) || defined (__CYGWIN32__)
! #if defined(POSIX) || defined(CONCURRENT) || defined (__CYGWIN32__)
#include <dirent.h>
#else
#include <sys/dir.h>
--------------