diff options
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/avr/stdfix.h | 9 |
2 files changed, 13 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4bbdfe3..bcae92c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2015-02-24 Georg-Johann Lay <avr@gjlay.de> + + * config/avr/stdfix.h [__WITH_AVRLIBC__]: Include <stdfix-avrlibc.h>. + 2015-02-24 Jakub Jelinek <jakub@redhat.com> PR tree-optimization/65170 diff --git a/gcc/config/avr/stdfix.h b/gcc/config/avr/stdfix.h index a743335..51f848b 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 (<stdfix-avrlibc.h>)) +#include <stdfix-avrlibc.h> +#endif + #endif /* _AVRGCC_STDFIX_H */ |