Mail Archives: djgpp/1998/02/08/06:15:22
I am trying to compile the dflat library ported to djgpp 1.x, and has
got stuck on a missing declaration of some kind.
It includes some malloc.c from Caltech 1982 (hmm do I really need
that??) and there it tries to cast something through caddr_t, but this
is undeclared..
Example:
*(u_short *)((caddr_t)(op + 1) + op->ov_size) = RMAGIC;
The malloc.c can be found at:
http://www.fukt.hk-r.se/~flognat/malloc.c
Well now comes the question, what would be apropriate to replace it
with??
Hmm looking through the archives I found a notice saying that djgpp
doesn't support functions that uses it?? Hmm what is caddr_t, and what
should I do?? (Or rather whats the general adoption??)
/Andy
- Raw text -