template-hsc.c

Simon Marlow simonmar@microsoft.com
Fri, 10 Aug 2001 12:05:57 +0100


> Marcin
>=20
> In order to build hslibs/net/BSD.* on Solaris I put
>=20
> #include <limits.h>
>=20
> into template-hsc.h just following the include of ctype.h.
> Is this a good/bad, portable/unportable thing to do?
> Should I commit it?

Good, but that's the wrong place to put it.  <limits.h> is needed by the
Haskell code, not by the hsc2hs machinery, so it should go in the
Haskell source.

Cheers,
	Simon