2005-09-27 Ralf Corsepius <ralf.corsepius@rtems.org>

* libc/include/stdint.h: Correct __STDINT_EXP macro incorrectly
        handling GCC >= 4.
This commit is contained in:
Jeff Johnston 2005-09-27 20:49:53 +00:00
parent 22704a8da3
commit ee694aea01
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2005-09-27 Ralf Corsepius <ralf.corsepius@rtems.org>
* libc/include/stdint.h: Correct __STDINT_EXP macro incorrectly
handling GCC >= 4.
2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/include/stdint.h: Update to match functionality

View File

@ -18,8 +18,10 @@
extern "C" {
#endif
#if defined(__GNUC__) && (__GNUC__ >= 3 ) \
&& defined(__GNUC_MINOR__) && (__GNUC_MINOR__ > 2 )
#if defined(__GNUC__) && \
( (__GNUC__ >= 4) || \
( (__GNUC__ >= 3) && defined(__GNUC_MINOR__) && (__GNUC_MINOR__ > 2) ) )
/* gcc > 3.2 implicitly defines the values we are interested */
#define __STDINT_EXP(x) __##x##__
#else
#define __STDINT_EXP(x) x