| delorie.com/archives/browse.cgi | search |
| Date: | Sun, 20 Dec 1998 11:38:40 +0200 (IST) |
| From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
| X-Sender: | eliz AT is |
| To: | Arthur <arfa AT clara DOT net> |
| cc: | djgpp AT delorie DOT com |
| Subject: | RE: |
| In-Reply-To: | <199812182049.UAA18685@remus> |
| Message-ID: | <Pine.SUN.3.91.981220113820.27996Q-100000@is> |
| MIME-Version: | 1.0 |
| Reply-To: | djgpp AT delorie DOT com |
On Fri, 18 Dec 1998, Arthur wrote:
> > Please suggest me what will be djgpp equivalent for :
> >
> > #if !defined(_Windows)
> > typedef char bool;
> > enum {false, true};
> > #endif
>
> #ifndef _Windows
> typedef char bool;
> enum {false, true};
> #endif
I'm not sure I understand what the original poster was asking, but if
this solution is good, then the original code is good as well, since
DJGPP supports "#if !defined".
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |