3.2 PATCH: Major Solaris 2 configuration cleanup (take 2)
David O'Brien
obrien@NUXI.com
Thu Jun 27 14:29:00 GMT 2002
On Wed, Jun 19, 2002 at 02:09:56PM +0200, Rainer Orth wrote:
> Index: gcc/config/sol2.h
> ===================================================================
...
> +/* Solaris 2 (at least as of 2.5.1) uses a 32-bit wchar_t. */
> +#undef WCHAR_TYPE
> +#define WCHAR_TYPE "long int"
> +
> +#undef WCHAR_TYPE_SIZE
> +#define WCHAR_TYPE_SIZE 32
> +
> +/* Solaris 2 uses a wint_t different from the default. This is required
> + by the SCD 2.4.1, p. 6-83, Figure 6-66. */
> +#undef WINT_TYPE
> +#define WINT_TYPE "long int"
> +
> +#undef WINT_TYPE_SIZE
> +#define WINT_TYPE_SIZE 32
Are all the #undef's needed? Would you be willing to reduce the #undef's
to the minimal needed? It really helps configury clean ups (and find
regressions).
More information about the Gcc-patches
mailing list