Date: Thu, 1 Feb 1996 09:05:53 +0200 (IST) From: Eli Zaretskii To: Roland Exler Cc: djgpp AT delorie DOT com Subject: Re: defines for djgpp V1.x and V2 On 30 Jan 1996, Roland Exler wrote: > Please could anyone tell me which symbols are defined to identify the > version of djgpp running so can change my program using #ifdef to use the > right selectors for accessing dos-memory? Use __DJGPP__ to distinguish between v1.x and v2.0 or above (v1.x doesn't define that symbol at all, beginning with v2.0, it gets the value of the major revision of DJGPP which is 2 in v2.0). You can use __DJGPP_MINOR__ to differentiate different releases of v2.x; in v2.0 it gets the value of 0. Note that currently there is no way to know what version of the library is linked into the program.