Message-Id: Comments: Authenticated sender is From: "Salvador Eduardo Tropea (SET)" Organization: INTI To: Martin Stromberg , djgpp-workers AT delorie DOT com Date: Mon, 2 Nov 1998 15:35:55 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: specs file In-reply-to: <199811021127.MAA03095@mars.lu.erisoft.se> References: from "Eli Zaretskii" at Nov 2, 98 01:12:14 pm X-mailer: Pegasus Mail for Windows (v2.54) Reply-To: djgpp-workers AT delorie DOT com Martin Stromberg wrote: > > > On the other hand if a program needs to know __DJGPP_MINOR and such, it > > > really should include some header (version.h?) for that. > > > > ANSI C allows for a program to be written that doesn't include any > > headers, and still uses library functions. The problem is how to make > > __DJGPP__ and __DJGPP_MINOR__ be defined in such a program. For > > exxample, i386 and __MSDOS__ *will* be defined in such a program. > > Of course. But ANSI C doesn't require that the program works as intended > if no headers have been #included, does it? As the functions are standard you could put the prototype by hand instead of including the header ;-) SET ------------------------------------ 0 -------------------------------- Visit my home page: http://set-soft.home.ml.org/ or http://www.geocities.com/SiliconValley/Vista/6552/ Salvador Eduardo Tropea (SET). (Electronics Engineer) Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org ICQ: 2951574 Address: Curapaligue 2124, Caseros, 3 de Febrero Buenos Aires, (1678), ARGENTINA TE: +(541) 759 0013