X-Spam-Check-By: sourceware.org
Date: Thu, 12 Jan 2006 13:13:39 -0500
From: Christopher Faylor <cgf-no-personal-reply-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Define _POSIX_SOURCE in cygwin's features.h?
Message-ID: <20060112181339.GC30108@trixie.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
References: <20060112173104.GA30011@trixie.casa.cgf.cx> <SERRANOzDskqC5EtrUV000000c2@SERRANO.CAM.ARTIMI.COM> <20060112175908.GB30108@trixie.casa.cgf.cx> <20060112180832.GA4855@bouh.residence.ens-lyon.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20060112180832.GA4855@bouh.residence.ens-lyon.fr>
User-Agent: Mutt/1.5.11
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

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/

