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