Mail Archives: djgpp/2000/12/07/06:18:31
On Thu, 7 Dec 2000, Boggy wrote:
> i'm trying to compile grep in another compiler and i would like to
> know where i can find the declaration of __dj_DIR. TIA.
??? How is the specific structure of DIR relevant to compiling `grep'?
Each compiler whose library supports `opendir' and `readdir' should have
its own definition of DIR, and compiling grep will (and should) use that
compiler-specific definition. You cannot use a definition from another
compiler, and you should _never_ use members of the DIR structure which
are not published by documented APIs.
Anyway, the DJGPP-specific definition of DIR is in the file
src/libc/posix/dirent/dirstruc.h in djlsr203.zip.
- Raw text -