This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Where is malloc() defined?


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".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]