delorie.com/archives/browse.cgi | search |
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=JEk0Pw | |
cZtvStqkOzgvy044Agzn/Qb+xCIu1qh0z6Yv5/PD46b4HOOaat/ALgcmsGLYJrDK | |
UYHboQPyVUXdCP4RcOZ3TXSsqNYOaTcJANeC2rgGODAe1TcRb6qjPr03Ua8f3hPh | |
XoIhKEHd3/jD7zQYCkMr1OqWZ+r5NCbTbwFFY= | |
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=M3kyxLixZ7jg | |
enTluF/OOFnqK4I=; b=fymIT8uQbDWlRbwPJiAzObIob3SjrgnhvkLyCnWi+pZ1 | |
WymMnRW36J5eETzhLNwC1q7inOqKFCA2IScSSDv+ldH1lkGVqUImSkQclZ6VZ1iB | |
IGYkBe0lY+3AeiEY9C4cAMiKVD2D80vFs4QRXKxf+6diKGF+Bu7AYjcQ7kEaCoE= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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=mouth, horses |
X-HELO: | lb1-smtp-cloud7.xs4all.net |
Date: | Mon, 13 May 2019 12:04:24 +0200 |
Message-ID: | <eaa92ba7540f33c936e141858687144f@smtp-cloud7.xs4all.net> |
From: | Houder <houder AT xs4all DOT nl> |
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> <75d7872a826c01b59f2576fa0bd5bf73 AT smtp-cloud8 DOT xs4all DOT net> <b5cce884-1654-255c-fe5c-0ec460368b53 AT SystematicSw DOT ab DOT ca> |
In-Reply-to: | <b5cce884-1654-255c-fe5c-0ec460368b53@SystematicSw.ab.ca> |
User-Agent: | mua.awk 0.99 |
On Sun, 12 May 2019 22:40:48, Brian Inglis wrote: > On 2019-05-12 14:54, Houder wrote: > > On Sun, 12 May 2019 13:33:30, Mike Gran via cygwin" wrote: > > >> 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/ > > That information is 15 years out of date, a lot of the platforms are dead or True ... Ok, from the horse's mouth then (wrt the *WIN* mnemonics): https://docs.microsoft.com/en-us/cpp/preprocessor/predefined-macros?view=vs-2019 (for as long as it lasts) Henri -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |