X-Recipient: archive-cygwin AT delorie DOT 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:message-id:from:reply-to:to:subject :references:in-reply-to:content-type; q=dns; s=default; b=Rzs7o4 WW7sXWa2sw0zqXthWtodYqylBbdpzZPrGbCyvQKbvIETxHBEMM0o45UzLOYDwW+H hH3qeOehlvZrG0K1b0NLODVQWNwX9FXNyNpcW02X5J1gDD9pBX2n1796NR3jxMcF oK+X/RwSG8jcn02jD1ncWPqaKNQ7Mb81mwhMc= 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:message-id:from:reply-to:to:subject :references:in-reply-to:content-type; s=default; bh=julTlNboJQao zjOxx/QMmSRF0lU=; b=mQJX3RMdvMuLnLHmFxe6yzNSkajK/gDKlkMXOewwVvv/ a7y2Bb8Xkcha/oJoqmiHJHHCUoxhLwoC7ee8WOlDt5r4h6SP0MsqEChynru+4phv Zf+XRqphRAmEVbLPRImQSWPoZe3tWmPD0xmMVzS79LPCx+RycN8j8ORUHA1Tt+c= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.1 spammy=gran, Gran, Mike, somebody X-HELO: lb1-smtp-cloud8.xs4all.net Date: Sun, 12 May 2019 22:54:22 +0200 Message-ID: <75d7872a826c01b59f2576fa0bd5bf73@smtp-cloud8.xs4all.net> From: Houder Reply-To: cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com Subject: Re: Why is __unix__ defined, and not __WINDOWS__ ? References: <5fbb6229-da17-c056-19b9-9819c684a8ad AT agner DOT org> <20190512203330 DOT GA30710 AT spikycactus DOT attlocal DOT net> In-Reply-to: <20190512203330.GA30710@spikycactus.attlocal.net> Content-Type: text/plain; charset=UTF-8; format=fixed User-Agent: mua.awk 0.99 On Sun, 12 May 2019 13:33:30, Mike Gran via cygwin" wrote: [snip] > I think these days the canonical defines are (somebody correct me if > I'm wrong) > > __CYGWIN__ for Cygwin > > _WIN32 as 1 on MinGW when the compilation target is Windows 32-bit > ARM, 64-bit ARM, x86, or x64. Otherwise, undefined. > > _WIN64 as 1 on MinGW when the compilation target is Windows 64-bit > ARM or x64. Otherwise, undefined https://sourceforge.net/p/predef/wiki/Home/ ===== -- 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