stdint.h: Next attempt at making this work with various compilers
authorHolger Hans Peter Freyther <zecke@selfish.org>
Mon, 20 Dec 2010 20:01:22 +0000 (21:01 +0100)
committerHolger Hans Peter Freyther <zecke@selfish.org>
Mon, 20 Dec 2010 20:01:22 +0000 (21:01 +0100)
commitb09aaa1e6d3b75d9eeb65a32dc141ca2b0be6022
treec9bd4ff04b4a080921e9671acdeb0e450df14a13
parentdeee3d3f6939b9e0ffa24a4a9bce8bfa5390db39
stdint.h: Next attempt at making this work with various compilers

Newer GCC with GNU LIBC do not like our minimalistic version of
stdint.h and will have conflicts. Older GCC with older C Libs do
not have a stdint.h yet and the #include_next trick is failing. To
make matters worse NEWLIB does not export its version via the
pre-processor.

We will have to guess once more about the compiler. This code now
assumes that if we have a GCC < 4 that it does not have a stdint.h
and we will not try to include the next stdint.h file.
src/target/firmware/include/stdint.h