This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Where is malloc() defined?
- To: joe dot stevens at gsfc dot nasa dot gov (Joe Stevens)
- Subject: Re: Where is malloc() defined?
- From: Arlindo da Silva <arlindo at niteroi dot gsfc dot nasa dot gov>
- Date: Fri, 2 Jan 1998 09:31:59 -0500 (EST)
- Cc: gnu-win32 at cygnus dot com
Joe,
>
> I have just installed the latest gnu-win32. I was compiling a program and
> the compiler was unable to locate malloc.h. What header file is the
> malloc() defined.
>
Since "malloc.h" is not really ANSI it was left out.
A workaround is to create a single line "malloc.h":
#include <stdlib.h>
--
Arlindo da Silva
dasilva@alum.mit.edu
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".