zsh-workers
 help / color / mirror / code / Atom feed
From: Oliver Kiddle <okiddle@yahoo.co.uk>
To: Borsenkow Andrej <Andrej.Borsenkow@mow.siemens.ru>
Cc: Zsh hackers list <zsh-workers@sunsite.dk>
Subject: Re: PATCH: print -f with -s/-z
Date: Fri, 22 Mar 2002 11:45:25 +0000	[thread overview]
Message-ID: <20020322114525.GA18469@logica.com> (raw)
In-Reply-To: <1016735949.3843.2.camel@localhost.localdomain>

On Thu, Mar 21, 2002 at 09:39:03PM +0300, Borsenkow Andrej wrote:
> >  
> > +/* this is defined so we get the prototype for open_memstream */
> > +#define _GNU_SOURCE 1
> > +
> 
> It is a bit weird to define it unconditionally even on a system that has
> nothing to do with GNU. 
> 
> If some extra steps are needed to pull in prototype for open_memstream I
> prefer configure to test for them instead.

I could put #ifdef HAVE_OPEN_MEMSTREAM around it if that would be less
weird? I'd have thought that _GNU_SOURCE was going to be ignored on
any non-GNU system and so would be harmless.

That define is the only step I know of for pulling in the prototype
(other than explicitly writing the prototype) and I can't think how
any configure test could more directly test for it.

Oliver

This e-mail and any attachment is for authorised use by the intended recipient(s) only.  It may contain proprietary material, confidential information and/or be subject to legal privilege.  It should not be copied, disclosed to, retained or used by, any other party.  If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender.  Thank you.


      reply	other threads:[~2002-03-22 11:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-19 14:21 Oliver Kiddle
2002-03-21 18:39 ` Borsenkow Andrej
2002-03-22 11:45   ` Oliver Kiddle [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020322114525.GA18469@logica.com \
    --to=okiddle@yahoo.co.uk \
    --cc=Andrej.Borsenkow@mow.siemens.ru \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).