From: Carsten Svaneborg 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: NNTP-Posting-Host: fys-170.risoe.dk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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