This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
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, AndreasThis 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
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |