delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/24/15:18:22

Date: Tue, 24 Mar 1998 17:25:46 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Ian Chapman <ichapman AT nortel DOT ca>
cc: djgpp AT delorie DOT com
Subject: Re: #define dj vs others
In-Reply-To: <3517AFBF.45AE@nortel.ca>
Message-ID: <Pine.SUN.3.91.980324172410.22871K-100000@is>
MIME-Version: 1.0

On Tue, 24 Mar 1998, Ian Chapman wrote:

> 	The fix is to put #define _WIN32 in front of #if

In general, I'd say this is not a good idea.  _WIN32 is a symbold defined 
by MSVC, Cygwin32 and other compilers which are compatible to them.  It 
could bite you if some other header or source file used that symbol to 
call functions which aren't supported by DJGPP.

- Raw text -


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