diff options
author | Kevin Ryde <user42@zip.com.au> | 2002-02-21 21:16:03 +0100 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2002-02-21 21:16:03 +0100 |
commit | 8a31ab408f50a0e665fdea5779159835e3ddd787 (patch) | |
tree | 88fbaf9d3044a98e6d90e8da1170ca55e1a08343 /tune | |
parent | c1649fa45a94d29e6cd978497146520f99faf761 (diff) | |
download | gmp-8a31ab408f50a0e665fdea5779159835e3ddd787.tar.gz |
* tune/tuneup.c: Don't confuse gcc with mipspro cc in diagnostic.
Diffstat (limited to 'tune')
-rw-r--r-- | tune/tuneup.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tune/tuneup.c b/tune/tuneup.c index 97db79621..2fe06d577 100644 --- a/tune/tuneup.c +++ b/tune/tuneup.c @@ -1523,7 +1523,8 @@ all (void) printf ("Sun C %d.%d */\n", __SUNPRO_C / 0x100, __SUNPRO_C % 0x100); #define PRINTED_COMPILER #endif -#if defined (__sgi) && defined (_COMPILER_VERSION) +#if ! defined (__GNUC__) && defined (__sgi) && defined (_COMPILER_VERSION) + /* gcc defines __sgi and _COMPILER_VERSION on irix 6, avoid that */ printf ("MIPSpro C %d.%d.%d */\n", _COMPILER_VERSION / 100, _COMPILER_VERSION / 10 % 10, |