delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/12/07/11:49:06

Date: Mon, 7 Dec 1998 11:48:26 -0500
Message-Id: <199812071648.LAA24047@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: eliz AT is DOT elta DOT co DOT il
CC: djgpp-workers AT delorie DOT com
In-reply-to: <Pine.SUN.3.91.981207120231.7807C-100000@is> (message from Eli
Zaretskii on Mon, 7 Dec 1998 12:17:07 +0200 (IST))
Subject: Re: djgpp 2.02 zips - please test
References: <Pine DOT SUN DOT 3 DOT 91 DOT 981207120231 DOT 7807C-100000 AT is>
Reply-To: djgpp-workers AT delorie DOT com

> Unfortunately, this cannot be done in a way that's 100% bulletproof.  For 
> example, it is allowed for a program to not include any headers and 
> still use library functions.  Also, <sys/version.h> didn't exist before 
> v2.02, so you cannot use it directly in a program that needs to be 
> backwards-compatible.

If a program needs to know if it's running with djgpp 2.02, it will
have to include <go32.h> or <stdio.h> to assure that it has the right
setting for __DJGPP_MINOR__.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019