Date: Thu, 7 Dec 2000 13:15:37 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Boggy cc: djgpp AT delorie DOT com Subject: Re: where is the declaration of __dj_DIR? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk 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.