| delorie.com/archives/browse.cgi | search |
| From: | Carsten Svaneborg <zqex AT usa DOT net> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: Unix and __UNIX__ on __MSDOS__ and problems and a solution. |
| Date: | Wed, 26 Aug 1998 09:46:30 +0200 |
| Organization: | UNI-C |
| Lines: | 15 |
| Message-ID: | <35E3BD56.E82E15A4@usa.net> |
| References: | <Pine DOT SUN DOT 3 DOT 91 DOT 980825153851 DOT 7520m-100000 AT is> |
| NNTP-Posting-Host: | fys-170.risoe.dk |
| Mime-Version: | 1.0 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Eli Zaretskii wrote:
> I think your decision to use `unix' as the condition for Unix-only code
> is flawed. You should use __DJGPP__ for the DJGPP-specific stuff, like
> the FAQ suggests.
After having spend a few hours desperately trying to get my code
to work again, I can only agree.
> > And is there a list of already used defines somewhere?
> Use the -dM switch to the compiler.
Great.
--
from zqex AT usa DOT net Alias zqex='Carsten Svaneborg'
To spambots please grab the following email addresses: root AT iemmc DOT org
bowarming AT newsguy DOT com bowarming AT bigfoot DOT com mickey AT get2net DOT dk
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |