delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/10/20/12:20:42

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-8.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,KHOP_PGP_SIGNED,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
Message-ID: <5082CF13.8090701@users.sourceforge.net>
Date: Sun, 21 Oct 2012 00:19:31 +0800
From: JonY <jon_y AT users DOT sourceforge DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
CC: Kai Tietz <ktietz70 AT googlemail DOT com>
Subject: Re: w32api-headers-3.0b_svn5431-1: _WIN32 no longer set on Cygwin
References: <5082A321 DOT 1050601 AT t-online DOT de>
In-Reply-To: <5082A321.1050601@t-online.de>
X-IsSubscribed: yes
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

--------------enig249C2B8B6E2B74092F80F354
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 10/20/2012 21:12, Christian Franke wrote:
> Just for Info:
>=20
> The new /usr/include/w32api/windef.h does no longer define _WIN32.
>=20
> This may require compile fixes for some sources which check only for
> _WIN32 and not for __CYGWIN__ after windows.h is included.
>=20
> Christian

I can't imagine why you'd include windows.h and then check for _WIN32
after the fact, but I still think mixing win32 calls and Cygwin calls is
a bad idea, except for a few special cases.

Anyway, I'll leave it to Kai to decide if it should be done, as I'm not
sure if this request is proper.





--------------enig249C2B8B6E2B74092F80F354
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)

iEYEARECAAYFAlCCzxkACgkQp56AKe10wHcUFgCfQcGYu36ekYk+HRjaiVyYN+Tf
beMAn0XbI8N7TBfE9BIHs6yTMEAdjBxV
=Z/lV
-----END PGP SIGNATURE-----

--------------enig249C2B8B6E2B74092F80F354--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019