summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include/machine
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2008-06-11 22:14:54 +0000
committerJeff Johnston <jjohnstn@redhat.com>2008-06-11 22:14:54 +0000
commit2b4c1b417fd6e49ddfc5c6b717cf0f2cdc347cb5 (patch)
treed2eedcb1318cae51f65fdd5946e1cb6276cb1702 /newlib/libc/include/machine
parent24790b9cdb14883782a5329c4be51db864d7d152 (diff)
downloadcygnal-2b4c1b417fd6e49ddfc5c6b717cf0f2cdc347cb5.tar.gz
cygnal-2b4c1b417fd6e49ddfc5c6b717cf0f2cdc347cb5.tar.bz2
cygnal-2b4c1b417fd6e49ddfc5c6b717cf0f2cdc347cb5.zip
2008-06-11 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/machine/_default_types.h: Fix GNUC check to handle 4.0 and greater.
Diffstat (limited to 'newlib/libc/include/machine')
-rw-r--r--newlib/libc/include/machine/_default_types.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/include/machine/_default_types.h b/newlib/libc/include/machine/_default_types.h
index a20abce84..e79f99399 100644
--- a/newlib/libc/include/machine/_default_types.h
+++ b/newlib/libc/include/machine/_default_types.h
@@ -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