From: Georg-Johann Lay Date: Tue, 24 Feb 2015 10:51:10 +0000 (+0000) Subject: stdfix.h [...]: Include . X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dd07a06fe79702db5dcb6836c186513a659bc288;p=gcc.git stdfix.h [...]: Include . gcc/ * config/avr/stdfix.h [__WITH_AVRLIBC__]: Include . From-SVN: r220937 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4bbdfe39049..bcae92c2918 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2015-02-24 Georg-Johann Lay + + * config/avr/stdfix.h [__WITH_AVRLIBC__]: Include . + 2015-02-24 Jakub Jelinek PR tree-optimization/65170 diff --git a/gcc/config/avr/stdfix.h b/gcc/config/avr/stdfix.h index a7433359596..51f848b3bcd 100644 --- a/gcc/config/avr/stdfix.h +++ b/gcc/config/avr/stdfix.h @@ -233,4 +233,13 @@ typedef long long unsigned int uint_uk_t; #define roundfx __builtin_avr_roundfx #define countlsfx __builtin_avr_countlsfx + +/* Hook in stuff from AVR-Libc. */ + +#if (defined (__WITH_AVRLIBC__) \ + && defined (__has_include) \ + && __has_include ()) +#include +#endif + #endif /* _AVRGCC_STDFIX_H */