Handle PGI/Intel Compilers

Andreas Jaeger aj@suse.de
Thu Nov 15 00:52:00 GMT 2001


Jakub Jelinek <jakub@redhat.com> writes:

> On Thu, Nov 15, 2001 at 09:52:08AM +0100, Andreas Jaeger wrote:
>> --- features.h	2001/11/01 04:23:17	1.29
>> +++ features.h	2001/11/15 08:51:55
>> @@ -277,6 +277,14 @@
>>  #define __GLIBC_PREREQ(maj, min) \
>>  	((__GLIBC__ << 16) + __GLIBC_MINOR__ >= ((maj) << 16) + (min))
>>  
>> +/* Decide whether a compiler supports the long long datatypes.  */
>> +#if defined __GNUC__ \
>> +    || (defined __PGI && defined __i386__ ) \
>> +    || (defined __INTEL_COMPILER && (defined __i386__ || defined __ia64__)) \
>> +    ||  __STDC_VERSION >= 199901L
>
> This should be
>     || (defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L)
> instead.

I'll change it, thanks!

Ok to commit with that change?

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj



More information about the Libc-hacker mailing list