Date: Fri, 9 Jun 1995 17:43:38 +0300 From: eliz AT is DOT elta DOT co DOT il (Eli Zaretskii) To: jscharrl AT dv DOT st DOT dlr DOT de, sandmann AT clio DOT rice DOT edu Subject: Re: Emacs & DPMI Cc: djgpp-v2, djgpp AT sun DOT soe DOT clarkson DOT edu > > BTW is there a special #define to detect V2? I get several warnings > > from a special MSDOS-headerfile in Emacs that the file-commands are > > declared twice. Yes, there is. The macro __DJGPP__ has the major version of DJGPP (i.e., 2) as its value. __DJGPP__ wasn't defined at all in DJGPP v1.x. In general, to learn about any predefined macros, you can do one of these: 1) look in the lib/specs file 2) run gcc -dM -E foo.c (where foo.c is any empty file)