X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; q=dns; s=default; b=cnpgAy1RbJZED3aU
	rclpxSFm43N5jZSGDfURCb82J4H6vpcESfTW50hMApx0nx1s+W4zQcitA370znfG
	z4nXucdxub4ER+aj5sisBeT1XIG3FiJQj78ofLRLraF4qyMOGDFqxKPjN+1pLF+w
	3OpK9ItbhVtDPDEkBOtnmSuHYqE=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; s=default; bh=P5GxhWz3Gfpob1Bcc1ar86
	FjxB8=; b=hQUzXUXFB0ygUAX9Hgcehi5L+cpKnJHhyPOLyPXSPBw/y0KEdSSz1t
	LcinQSijTgoH1DC1XpPm8UFudG23ZO4eBCoBW6RAMMCEcG6+ns2zGsy3v/6tU1AN
	SXxo66V3N5uRIpy05Jt2H34wpEtZVAXFiIR5HMaPyDJNqykMuJdfE=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=H*F:D*yandex.ru, H*M:yandex, H*r:build, yandexru
X-HELO: forward106o.mail.yandex.net
Authentication-Results: smtp1p.mail.yandex.net; dkim=pass header.i=@yandex.ru
Date: Mon, 5 Mar 2018 23:58:05 +0300
From: Andrey Repin <anrdaemon@yandex.ru>
Reply-To: cygwin@cygwin.com
Message-ID: <5310615097.20180305235805@yandex.ru>
To: arnold@skeeve.com, cygwin@cygwin.com
Subject: Re: [bug-gawk] gawk Regression: CR characters are not stripped on Windows
In-Reply-To: <201803051414.w25EEKCP021833@freefriends.org>
References: <CAGHpTB+bfbts=fOBSQPN7c-NDh8FTXR+EauhDhiVrqbgawcYoA@mail.gmail.com>   <201803051336.w25Da6xe018344@freefriends.org>  <20180305140016.GA25306@calimero.vinschen.de>  <201803051414.w25EEKCP021833@freefriends.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Greetings, arnold@skeeve.com!

> Corinna Vinschen <corinna-cygwin@cygwin.com> wrote:

>> Hi Arnold,
>>
>> On Mar  5 06:36, arnold@skeeve.com wrote:
>> > Is there a way to distinguish cygwin from msys at compile time?
>> > I would not object to restoring the behavior for msys only.
>>
>> __MSYS__ vs. __CYGWIN__
>>
>>
>> Corinna
>>
>> -- 
>> Corinna Vinschen                  Please, send mails regarding Cygwin to
>> Cygwin Maintainer                 cygwin AT cygwin DOT com
>> Red Hat

> Excellent. I will probably do that, soon.

Keep in mind that you should avoid relying on __CYGWIN__ if possible.
Only if certain POSIX mandated functionality could not be implemented at all
using WinAPI you may go for this macro to work around compatibility issues.


-- 
With best regards,
Andrey Repin
Monday, March 5, 2018 23:56:14

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

