From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11962 invoked by alias); 13 Apr 2011 19:57:12 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 28995 Received: (qmail 13525 invoked from network); 13 Apr 2011 19:57:00 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at closedmail.com does not designate permitted sender hosts) From: Bart Schaefer Message-id: <110413125644.ZM18368@torch.brasslantern.com> Date: Wed, 13 Apr 2011 12:56:42 -0700 In-reply-to: <20110413172646.2e406efd@pwslap01u.europe.root.pri> Comments: In reply to Peter Stephenson "Re: build on os x 10.6.7, xcode 3.2.6" (Apr 13, 5:26pm) References: <20110412130929.GG5881@erwin> <20110413172646.2e406efd@pwslap01u.europe.root.pri> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: Subject: Re: build on os x 10.6.7, xcode 3.2.6 MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Apr 13, 5:26pm, Peter Stephenson wrote: } } Changing random source code options often has side effects. I thought that change looked a bit questionable. There aren't very many of these kinds of preprocessor directives that it's appropriate to define unconditionally, and I don't see any reason to remove the #if / _GNU_SOURCE definition, independent of defining _POSIX_C_SOURCE. } --- zsh-4.3.11/Src/system.h 2010-02-22 11:12:31.000000000 +0100 } +++ zsh/Src/system.h 2011-04-12 14:20:37.106000061 +0200 } @@ -37,13 +37,12 @@ } #endif } #endif } } -#if defined(__linux) || defined(__GNU__) || defined(__GLIBC__) } /* } * Turn on numerous extensions. } * This is in order to get the functions for manipulating /dev/ptmx. } */ } #define _GNU_SOURCE 1 } -#endif } +#define _POSIX_C_SOURCE 200809L --