[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gnulib] automatic prototypes
From: |
Paul Eggert |
Subject: |
Re: [bug-gnulib] automatic prototypes |
Date: |
Wed, 15 Dec 2004 22:07:09 -0800 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
Simon Josefsson <address@hidden> writes:
> + AH_BOTTOM([
> +#if defined HAVE_DECL_STRDUP && !HAVE_DECL_STRDUP
> +/* Duplicate S, returning an identical malloc'd string. */
> +extern char *strdup (const char *s);
> +#endif
> +])
Something like that might work, I suppose. Perhaps you could try
it for a while in one of your packages, and see how well it works
in practice?
Typically I've been leery about putting anything but #defines into
config.h. But you're right that the #include is annoying.
- [bug-gnulib] automatic prototypes, Simon Josefsson, 2004/12/15
- Re: [bug-gnulib] automatic prototypes,
Paul Eggert <=
- Re: [bug-gnulib] automatic prototypes, Karl Berry, 2004/12/16
- [bug-gnulib] Re: automatic prototypes, Simon Josefsson, 2004/12/17
- Re: [bug-gnulib] Re: automatic prototypes, Paul Eggert, 2004/12/17
- [bug-gnulib] Re: automatic prototypes, Simon Josefsson, 2004/12/17
- Re: [bug-gnulib] Re: automatic prototypes, Paul Eggert, 2004/12/18
- [bug-gnulib] Re: automatic prototypes, Simon Josefsson, 2004/12/18
- Re: [bug-gnulib] Re: automatic prototypes, Paul Eggert, 2004/12/19
Re: [bug-gnulib] automatic prototypes, Bruno Haible, 2004/12/18