This is the mail archive of the
cygwin
mailing list for the Cygwin project.
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
- Date: Thu, 6 Feb 2014 15:15:08 +0100
- Subject: Fwd: cygwin-1.7.28 getpwent header declaration changes ?
- Authentication-results: sourceware.org; auth=none
- 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>
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