Date: Mon, 22 May 2000 13:58:08 +0100 From: Chris Lingard <[EMAIL PROTECTED]>
> > @@ -493,15 +498,15 @@ > > longjmp(GC_jmp_buf, 1); > > } > > > > -# ifdef __STDC__ > > +# if defined(__STDC__) || defined(HURD) > > typedef void (*handler)(int); > > # else > > typedef void (*handler)(); > > # endif > > I think we can agree that __STDC__ must be defined on the Hurd. > Yes, it is defined as a macro in gcc's cpp. But will we always have a dependancy on gcc? People often use a native C compiler. __STDC__ is defined by any standards conforming ISO C compiler. Moreover, GCC is the native compiler on the Hurd. Of course someone will port the origional K&R C compiler to the Hurd once it is released as open source :-). But in that case your change will prevent you from compiling libgc with it. The bottomline is that this bit of the patch shouldn't be applied. Mark

