Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Oct 2001 10:57:17 -0500 (EST)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        Peter Pentchev <roam@ringlet.net>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/include malloc.h
Message-ID:  <200110301557.f9UFvHe25413@khavrinen.lcs.mit.edu>
In-Reply-To: <20011030161105.A93996@straylight.oblivion.bg>
References:  <200110250235.f9P2ZTU86318@freefall.freebsd.org> <200110250239.f9P2dfn50520@khavrinen.lcs.mit.edu> <20011030161105.A93996@straylight.oblivion.bg>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Tue, 30 Oct 2001 16:11:05 +0200, Peter Pentchev <roam@ringlet.net> said:

> Just BTW, what is the correct test to use for malloc.h vs stdlib.h?
> Will __STDC__ be enough?

#if HAVE_STDLIB_H

__STDC__ tells you about the compiler; it doesn't tell you whether the
compilation environment is actually valid.  In FreeBSD, we have always
had <stdlib.h>, even when compiling with `gcc -traditional'.

-GAWollman


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110301557.f9UFvHe25413>