On Mon, 2015-06-01 at 17:07 +0200, Andreas Tobler wrote: > > 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
Ah, I looked at the code but didn't read the comment. When I look at auto-host.h I see that the header does what the comment says it does. Thanks for the explanation. Steve Ellcey sell...@imgtec.com