This is the mail archive of the cygwin@sourceware.cygnus.com
mailing list for the Cygwin project. See the Cygwin
home page for more information.
Re: gcc -U_WIN32 pitfalls!
- To: Geoffrey Noer <noer@cygnus.com>
- Subject: Re: gcc -U_WIN32 pitfalls!
- From: Mumit Khan <khan@xraylith.wisc.edu>
- Date: Wed, 28 Apr 1999 17:25:55 -0500 (CDT)
- cc: cygwin@sourceware.cygnus.com
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 <khan@xraylith.wisc.edu>
* 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@sourceware.cygnus.com