This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: __CYGWIN__ ++ (RE: getuid() and root)
- From: "Hannu E K Nevalainen \(garbage mail\)" <garbage_collector at telia dot com>
- To: <cygwin at cygwin dot com>
- Date: Wed, 24 Sep 2003 21:21:38 +0200
- Subject: RE: __CYGWIN__ ++ (RE: getuid() and root)
> From: Corinna Vinschen
> On Tue, Sep 23, 2003 at 08:41:59PM +0200, Hannu E K Nevalainen
> (garbage mail) wrote:
> > Current status as I've understood it is; As -mno-cygwin _ISN'T_ used
> > __CYGWIN__ and __CYGWIN32__ both will be #define 'd.
> >
> > Now the big Q: What is the difference between those?
>
> __CYGWIN__ is the correct one. __CYGWIN32__ was the predecessor
> (pre french revolution). Kept for backward compatibility.
>
> Corinna
Thanks. The use of __CYGWIN__ is clear and sound.
I've been thinking that there is a need for a __NOCYGWIN__ define too (to
be set when -mno-cygwin is used).
Any thoughts about this? Good(tm) or Bad(tm)?
/Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E
-- UTC+01, DST -> UTC+02 --
Searching the archives, w google (I'm VERY negative vs "htdig" right now)
+"CYGWIN" +"-mno-cygwin" site:cygwin.com inurl:ml
gives 1450 hits...
I'm out of ideas on how to refine this - to find anything that matches
__NOCYGWIN__ or similar.
At times I'm VERY frustrated with search engines (e.g. google) for their
incapability to do what the help files indicate. Adding a "+" before a word,
as I have done above, is meant to REQUIRE that word to be in the items
shown. IMO this DOESN'T happen.
--END OF MESSAGE--
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/