| 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:mime-version:in-reply-to:references:date | |
| :message-id:subject:from:to:content-type; q=dns; s=default; b=MT | |
| wUeeUU3HEINHjBxvq4ZK+H2S9YkU2ZnFnRlp9AU4iUn4UPBUc+7Lj79QdCX1ndtl | |
| HiGHO5f7Al3Pjb7Yr96g1++K7yRBqZ9pMC7/32lD6oSUioQqdX2DdSbIXhU68FBM | |
| 8DY5AxyNt09BkGUmzBtncy3s4Rr9x7AqJ9Ef2FDVg= | |
| 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:mime-version:in-reply-to:references:date | |
| :message-id:subject:from:to:content-type; s=default; bh=q43Tan4P | |
| nxDZ5nL5Z98Z71jC2IQ=; b=tQfqD2PzgxapWTtotYn1b3BtAtVqIh2HVeEL+YQy | |
| loZ7fRtgVs8iz0xhhNqqnsKwzsf5pZfHYGSbSiTBIH32pRZbtOdlLw7CPyYDHmU5 | |
| hz4i0nCmbrTtGT6ZEzefdy+8waQKFtOqxWwO77Riz8Irqt0luSTtKNI8WP8vwkD/ | |
| 3p8= | |
| 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=-0.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 |
| X-HELO: | mail-lb0-f178.google.com |
| MIME-Version: | 1.0 |
| X-Received: | by 10.112.45.108 with SMTP id l12mr5505678lbm.21.1391696108249; Thu, 06 Feb 2014 06:15:08 -0800 (PST) |
| In-Reply-To: | <CAO1jNws3H_Wbec=y_UoYkhrb5nMX7iT7_A5XaHcQKCw32o055g@mail.gmail.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> <20140206140244 DOT GH2821 AT calimero DOT vinschen DOT de> <CAO1jNws3H_Wbec=y_UoYkhrb5nMX7iT7_A5XaHcQKCw32o055g AT mail DOT gmail DOT com> |
| Date: | Thu, 6 Feb 2014 15:15:08 +0100 |
| Message-ID: | <CAO1jNwvccFJmrotONe31v0gYRnRT-jRjKCYugADPNYiGMTkCfQ@mail.gmail.com> |
| Subject: | Fwd: cygwin-1.7.28 getpwent header declaration changes ? |
| From: | Jan Nijtmans <jan DOT nijtmans AT gmail DOT com> |
| To: | cygwin AT cygwin DOT com |
| X-IsSubscribed: | yes |
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
Yes, SQLite defines _XOPEN_SOURCE in sqliteInt.h:
<http://www.sqlite.org/src/artifact/fdab572b3567d587?ln=198-200>
I could add a !defined(__CYGWIN__) there, but I prefer
just to define __BSD_VISIBLE.
Thanks!
Regards.
--
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 |