This is the mail archive of the
mailing list for the GCC project.
Re: PATCH (libstdc++-v3): Port testsuite/testsuite_performance.h
On Tue, Jun 24, 2003 at 02:27:29PM -0500, B. Kosnik wrote:
> >Frankly, I'd rather unconditionally kill it. This is in test code not
> >run by most non-developers at this point.
> I think you should just do it in a way that works for BSD. As you say,
> let's not get overly wrapped-up in making this work everywhere.
Imho, the correct way to do this for almost all platforms is:
#else /* !STDC_HEADERS */
#endif /* HAVE_SYS_MALLOC_H */
#endif /* HAVE_MALLOC_H */
#endif /* !STDC_HEADERS */
Of course, you'll need to add the autoconf tests
for STDC_HEADERS, HAVE_MALLOC_H and HAVE_SYS_MALLOC_H:
Carlo Wood <firstname.lastname@example.org>