Mail Archives: djgpp-workers/1998/11/02/13:31:14
Martin Stromberg <Martin DOT Stromberg AT lu DOT erisoft DOT se> 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
- Raw text -