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:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=N9XHflfNCu2ENRmdX4O+3jJ9Unm+gYVLfRKJCHiyJuzZpmGSg4eAn 3PFBG0LB4VQ5cY8LmbHhaAqAWOtHFFg0+m0oIv3rFtYx7NAtQxkNCPO8y5mXnPvj Sw0JRYUu83UdW3O/KSsn0PQhfU6zWS0HaQi24AA0Ds87pU6hf31SI0= 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:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=PhQHbspI1HklbuH1hTBbKdnEzMU=; b=OvsFlAGWL3Te536ymkL7C+c7oxwG W42VghI0YJfHovxXLF+Tyw3yycbNkvXfCEYIHYMB2mKecBKLb/RZNRPmyf38uUBd yq0P68UCsu+yIV0mlxo1F70s5zXWVNGqUmBwTCPrhIhsR1imE6qJ3EBkGopBdEUZ nG0A1l45wLItv6Y= 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=-6.0 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: calimero.vinschen.de Date: Thu, 6 Feb 2014 15:28:35 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: cygwin-1.7.28 getpwent header declaration changes ? Message-ID: <20140206142835.GJ2821@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <52F339CA DOT 5070305 AT gmail DOT com> <20140206090117 DOT GD2821 AT calimero DOT vinschen DOT de> <52F361C5 DOT 3000807 AT gmail DOT com> <20140206140244 DOT GH2821 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="fTrra2YUagINO7SV" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) --fTrra2YUagINO7SV Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Feb 6 15:15, Jan Nijtmans wrote: > 2014-02-06 15:02 GMT+01:00 Corinna Vinschen: > > In sys/_default_fcntl.h, the LOCK_xx macros are defined if > > __BSD_VISIBLE is defined, which *is* defined by default, unless you > > define one of > > > > _ANSI_SOURCE > > _C99_SOURCE > > _C11_SOURCE > > _POSIX_C_SOURCE > > _XOPEN_SOURCE >=20 > Yes, SQLite defines _XOPEN_SOURCE in sqliteInt.h: >=20 > >=20 > I could add a !defined(__CYGWIN__) there, but I prefer > just to define __BSD_VISIBLE. On second thought, Linux defines the LOCK_xx macros unconditionally in sys/file.h. What we could do is to define the macros in sys/file.h if they are not already defined because __BSD_VISIBLE wasn't set. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --fTrra2YUagINO7SV Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJS85wTAAoJEPU2Bp2uRE+gsZMQAJLgxKtg31SD7Kd2UpJHO5Do YG6FsY3tQE5hWs0d//VHO7W0n5oJbj5JTofiOht5+w9vRK8S6iRtiSx6yIJhjWVF u+vY+/Yi0BT3TUtzIzW7nJpHseJefJEAjo7Oa9sYtK4J95lQH5wXWvEaJTIgnhoH d0FNE3ygdmTOYf/MNKFpaHJPJYAL9F3ZvfCpI0LL9jKbPi4xXK9CgmHMTGc40gRq SfC0Plmh2T3AbkRjrPXHav4Lk25u9aD2ajQI2uodSCa9qVy0A9bTFrxojsfS40hK ci+aNlCvPbwXSVH+pBkQ3G8t4TiqPxisc/6BEY2Am1A8IhAH16GW0Jk4GTOdV0zX HMGdiVEbSGtd6hnQwdBav/zqAlo5iCwnZeXGUXa07dDLtPiisqpf5QHCg0+bnrkA 4u3iR7FvCb8QlFbrg6hPskqXAT51yqdEuIWWAebnvJQ/4MZMbgftug9dYpntRFOA QTuV868/tdBLWb5Evz6gtRw3v3EGL7h0n/rj6WEIh6m7a5/LvY0LtASvC/e+NLJi TdAqmUHYUKhD354sQGd48f47mUslt317Qp8BcVDuH34fJk8vELKGtsFGWyaxYTLN s5Tp1xoygv0EpYTzFdKbWfgkjMS5QsEMHIHapAf+8yK7Vn80Y4mckU91CMiMyMYC 6+jYACcQNoBaVHS6Kk0A =WiN2 -----END PGP SIGNATURE----- --fTrra2YUagINO7SV--