Mail Archives: djgpp/1996/05/29/05:16:08
On Tue, 28 May 1996, Rafael Pena Villareal wrote:
> Im changing some programs from borlandc 3.0 to djgpp 2.0, and when
> I write
> #include <alloc.h>
>
> the compiler says file not found. Im sure I downloaded all the files
> and into the include directory but there's no alloc.h
That header file is non-standard, and DJGPP doesn't have it. Even in BC
you can (and should IMHO) use the standard headers that include the same
prototypes, if you want a portable program. Using <stdlib.h> should
usually supply the prototypes from <alloc.h>.
- Raw text -