diff options
author | Georg-Johann Lay <avr@gjlay.de> | 2015-02-24 10:51:10 +0000 |
---|---|---|
committer | Georg-Johann Lay <gjl@gcc.gnu.org> | 2015-02-24 10:51:10 +0000 |
commit | dd07a06fe79702db5dcb6836c186513a659bc288 (patch) | |
tree | 4fb5391ad23336b6b12f723b9958c0dd5d771bbc /gcc/config/avr | |
parent | ce551f1268b02453e8465583528da72244cbb222 (diff) | |
download | gcc-dd07a06fe79702db5dcb6836c186513a659bc288.zip gcc-dd07a06fe79702db5dcb6836c186513a659bc288.tar.gz gcc-dd07a06fe79702db5dcb6836c186513a659bc288.tar.bz2 |
stdfix.h [...]: Include <stdfix-avrlibc.h>.
gcc/
* config/avr/stdfix.h [__WITH_AVRLIBC__]: Include <stdfix-avrlibc.h>.
From-SVN: r220937
Diffstat (limited to 'gcc/config/avr')
-rw-r--r-- | gcc/config/avr/stdfix.h | 9 |
1 files changed, 9 insertions, 0 deletions
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 */ |