Is using __MSDOS__
enough with djgpp or should __DJGPP__
be used instead?
By comparison, I know _WIN32
isn’t defined by default on cygwin (based on the assumption djgpp and cygwin have the purpose to build an Unix layer to hide real OS details).
I no longer have a DOS machine to test it.
To list the predefined macros and their values, use
djgpp -E -x c -dM /dev/null