Mail Archives: djgpp-workers/1998/11/02/06:28:33
> > 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?
Anyway, if the program _needs_ to have __DJGPP__, say, available, then
can't we insist on "#include version.h"?
Right,
MartinS
- Raw text -