This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Handle PGI/Intel Compilers


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.

> +# define __GLIBC_HAVE_LONG_LONG	1
> +#endif
> +
>  /* This is here only because every header file already includes this one.  */
>  #ifndef __ASSEMBLER__
>  # ifndef _SYS_CDEFS_H

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]