delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/02/06/09:03:06

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=KtiwOsbJuSHf+ixvRG5Jil88sAXtiL0pnI+94yPa1GASgF5/QYohd
lAWO55udFxwPOEuncTG94egqfiZxHSYkUCNs1DZtzXPNIdHp2sT99v0P21xSFgK9
mJRyG+JvjZ3/SfCKCXez1QtksibQBKaRLtCiqoiktpNU9aNaz7KG1M=
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=mCo4X4Xf8YRMVQlzpaItwV01GKs=; b=vb+3FjQMgph5hD291tnXdn4YcQql
GihiC2/BzZXcwD9WPrMR8txKRZ1R+SLheoaz/7l1f9hiWdJsHS/VuXEpzoKXn1oM
7g8Yh55xvHkMbt8k0tajxGiyU2iLarauEVb+duMPrwvxckQ/xvkeixrJdLvw3guN
/NeZXs8Llsdpk4E=
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=-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:02:44 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cygwin-1.7.28 getpwent header declaration changes ?
Message-ID: <20140206140244.GH2821@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> <CAO1jNwvSip2JNbPq2y+1fMsWo0dLO29oo4Vz+Y6T80-4agSuOQ AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <CAO1jNwvSip2JNbPq2y+1fMsWo0dLO29oo4Vz+Y6T80-4agSuOQ@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)

--s8uQA167RD2xhjBe
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Feb  6 14:00, Jan Nijtmans wrote:
> On Feb  6 08:29, Marco Atzeri wrote:
> > Is something slightly changed in the  relative system headers ?
>=20
> After upgrading to Cygwin 1.7.28, Sqlite doesn't compile any
> more. See log below. When reverting to 1.7.27-2,
> everything is back to normal.
>=20
> The LOCK_EX macro's and friends are supposed to
> be defined when including <sys/file.h>:
>     <http://man7.org/linux/man-pages/man2/flock.2.html>
> but they aren't any more.

They are.  There's an #include <fcntl.h> in sys/file.h, which in
turn includes sys/fcntl.h which includes sys/_default_fcntl.h.

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


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--s8uQA167RD2xhjBe
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJS85YEAAoJEPU2Bp2uRE+gfuwP/3zrvklymRkWfFxjLFB2/J1a
SnAbtAXbNcGY4l7NI1ozS8wnO3cC6fJx0LA60yD4ZtANRQTFn/6wN1tgSWKyDS7v
qUxoBXLqzRSnxQHzs5qBRQYucQYsgsg5C5MFoiqCxl6LU8Yrdub4nON09w4wpLPV
Ioe+IGiJx21Tz4/UKYxD1hqI6rWwEPGL0qazRT9OYlVbV6+11x8ZZVaDNg8gLt7a
izgiaVqZ5SQnNj5RJSdag9NKDQhh5lTKAT6Q3Tq18OJcQYnaHg+z980ClKExBywa
OQw8ykPIJoYqUAftnbyMcbJj4zxsmMTwfbbTPH3Aq2dvqM3uZcfLzVsHdMa2+1Rs
ZoY93pYDR95QNRNp5+8FJu49rQK8OPEzNNtAohWnFCRqmv5yM0ZzE2MSk6dxGdJh
pvczLxMqYGvYZRzm5MQu7jtHXR1zZwYc7SCwLs1uORsNc9Lyj6+WWrT5MBYrpt7k
nZrQAyjVa+nNrMsNfLPKnzGEZp+XyaEMBLLbqN8VR9RZM8FJ4raqGQMFI6cAhkDz
ezB83EDGgZUSpwQxYr0oVRS0YROGQpczKARDY82XE4PH9pZlEArLqMW9cKMNg/gj
o0MeFCOAhFnvTHY9RuL8Lczfk9ladP9NNu1SvCXuU3MIt8KHOsWppI2qlO/GMYQg
rtcXOyQuYQyYk8p7C8/X
=NOzH
-----END PGP SIGNATURE-----

--s8uQA167RD2xhjBe--

- Raw text -


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