Define _POSIX_SOURCE in cygwin's features.h?

Christopher Faylor cgf-no-personal-reply-please@cygwin.com
Thu Jan 12 18:20:00 GMT 2006


On Thu, Jan 12, 2006 at 07:08:32PM +0100, Samuel Thibault wrote:
>But a portable program should _not_ assume that #defining _GNU_SOURCE
>implies that _POSIX_SOURCE. If a program not only needs posix stuff but
>also some GNU extras, it should #define _GNU_SOURCE _and_ _POSIX_SOURCE
>itself.

I don't care about portable programs.  I'm interested in hearing if this
will fix problems with programs which build without problem on linux.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list