delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/01/31/08:55:13

Xref: news2.mv.net comp.os.msdos.djgpp:677
From: Robert Hoehne <rho AT hrz DOT tu-chemnitz DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: defines for djgpp V1.x and V2
Date: 30 Jan 1996 12:32:25 GMT
Organization: TU Chemnitz-Zwickau
Lines: 16
Message-ID: <4el34p$jh0@pyrrhus-f.hrz.tu-chemnitz.de>
References: <4ekhcb$fs6 AT alijku06 DOT edvz DOT uni-linz DOT ac DOT at>
NNTP-Posting-Host: daemon.hrz.tu-chemnitz.de
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Yes, you can it do with the following ifdef's


#if defined( DJGPP ) && ( DJGPP > 1 ) /* Version 1 doesn't define DJGPP */
/* in Version 2 DJGPP has the value 2
/* stuff for version 2 */

#else

/* stuff for version 1 *?

#endif


by Robert

- Raw text -


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