On 01.06.15 16:43, Steve Ellcey wrote:
On Sat, 2015-05-30 at 11:27 +0200, Andreas Tobler wrote:


I'm sorry. I totally forgot about autoheader...

I'm testing this one now. Would you mind giving it a try?

Thanks,
Andreas

This patch worked for me.  I am curious about why you use
'!HAVE_DECL_ATOLL' in read-rtl.c instead of '!defined(HAVE_DECL_ATOLL)'.
The use of !defined seems more common and is used in the HAVE_ATOQ check
in the same #if statement.

Because HAVE_DECL_ATOLL is either defined as 0 or 1. So it is always defined. HAVE_ATOQ on the other side is only defined if it is available.

From config.in:
----
/* Define to 1 if we found a declaration for 'atoll', otherwise define to 0.
   */
#ifndef USED_FOR_TARGET
#undef HAVE_DECL_ATOLL
#endif
----

Andreas

Reply via email to