Paul Eggert <[EMAIL PROTECTED]> writes: | From: Akim Demaille <[EMAIL PROTECTED]> | Date: 06 Mar 2000 10:07:37 +0100 ... | #if HAVE_STDLIB_H | # include <stdlib.h> | #else | char *malloc (); | #endif | | or maybe shall we check that malloc is declared? | | I wouldn't worry about that; I think it's unlikely that you'll run | across a host that declares malloc some place other than stdlib.h. As Paul says, I wouldn't worry about it -- these days. I seem to recall some old system declaring it in memory.h. It might have been something as crufty as Apollo's early DomainOS (or whatever they called it).
- Re: Fix some tests to be g++ >= 2.95 safe Alexandre Oliva
- Re: Fix some tests to be g++ >= 2.95 safe Akim Demaille
- Re: Fix some tests to be g++ >= 2.95 safe Franz Sirl
- Re: Fix some tests to be g++ >= 2.95 safe Ossama Othman
- Re: Fix some tests to be g++ >= 2.95 safe Akim Demaille
- Re: Fix some tests to be g++ >= 2.95 safe Franz Sirl
- Re: Fix some tests to be g++ >= 2.95 safe Akim Demaille
- Re: Fix some tests to be g++ >= 2.95 s... Franz Sirl
- Re: Fix some tests to be g++ >= 2... Akim Demaille
- Re: Fix some tests to be g++ >... Paul Eggert
- Re: Fix some tests to be g++ >... Jim Meyering
- Re: Fix some tests to be g++ >... Franz Sirl
- Re: Fix some tests to be g++ >... Akim Demaille
- Re: Fix some tests to be g++ >= 2... Akim Demaille
- Re: Fix some tests to be g++ >... Alexandre Oliva
- Re: Fix some tests to be g++ >... Akim Demaille
- Re: Fix some tests to be g++ >... Alexandre Oliva
- Re: Fix some tests to be g++ >= 2.95 safe T.E.Dickey
- Re: Fix some tests to be g++ >= 2.95 safe Alexandre Oliva