Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com X-Authentication-Warning: modi.xraylith.wisc.edu: khan owned process doing -bs Date: Wed, 28 Apr 1999 17:25:55 -0500 (CDT) From: Mumit Khan To: Geoffrey Noer cc: cygwin AT sourceware DOT cygnus DOT com Subject: Re: gcc -U_WIN32 pitfalls! In-Reply-To: <19990426182530.E21666@cygnus.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Mon, 26 Apr 1999, Geoffrey Noer wrote: > > > it should be: > > > #if defined (GO32) || defined (__MSDOS__) || defined (_WIN32) || > > > defined(__CYGWIN__) > > Thanks, fixed it in the current newlib development sources. > > [...] > > --- sys/fcntl.h.~1 Sat Apr 24 19:46:24 1999 > > +++ sys/fcntl.h Sat Apr 24 19:47:38 1999 [...] > > Fixed too. > Thanks. One more tiny one, and I believe this is last of the lot. I can now bootstrap and test GCC, run the rather extensive testsuite of my own software, and various other things without a hitch. The only other reference to _WIN32 without corresponding __CYGWIN__ is in machine/ieeefp.h, and that applies only to PPC. Wed Apr 28 17:15:24 1999 Mumit Khan * libc/include/machine/setjmp.h (_JBLEN): Explicitly define for __CYGWIN__ as well. Index: machine/setjmp.h =================================================================== RCS file: /homes/khan/src/CVSROOT/cygwin/newlib/libc/include/machine/setjmp.h,v retrieving revision 1.1.1.1 diff -u -3 -p -r1.1.1.1 setjmp.h --- setjmp.h 1999/02/19 05:36:28 1.1.1.1 +++ setjmp.h 1999/04/28 21:09:13 @@ -41,7 +41,7 @@ #ifdef __i386__ #ifdef __unix__ # define _JBLEN 36 -#elif defined(_WIN32) +#elif defined(_WIN32) || defined(__CYGWIN__) #define _JBLEN (13 * 4) #else #include "setjmp-dj.h" Regards, Mumit -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com