2008-06-11 Jeff Johnston <jjohnstn@redhat.com>

* libc/include/machine/_default_types.h: Fix GNUC check to
        handle 4.0 and greater.
This commit is contained in:
Jeff Johnston 2008-06-11 22:14:54 +00:00
parent 24790b9cdb
commit 2b4c1b417f
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2008-06-11 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/machine/_default_types.h: Fix GNUC check to
handle 4.0 and greater.
2008-06-09 Ken Werner <ken.werner@de.ibm.com>
* libc/machine/spu/Makefile.am: Add new files.

View File

@ -12,8 +12,8 @@ extern "C" {
/*
* Guess on types by examining *_MIN / *_MAX defines.
*/
#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.3.0 has __<val>__ implicitly defined. */
#define __EXP(x) __##x##__
#else