Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: "Hannu E K Nevalainen \(garbage mail\)" To: Subject: RE: __CYGWIN__ ++ (RE: getuid() and root) Date: Wed, 24 Sep 2003 21:21:38 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal In-Reply-To: <20030924073944.GC9981@cygbert.vinschen.de> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal > 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/