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


Andreas Jaeger <aj@suse.de> writes:

> Index: posix/sys/types.h
> ===================================================================
> RCS file: /cvs/glibc/libc/posix/sys/types.h,v
> retrieving revision 1.43
> diff -u -p -r1.43 types.h
> --- types.h	2001/07/06 04:55:38	1.43
> +++ types.h	2001/11/15 08:51:55
> @@ -1,4 +1,4 @@
> -/* Copyright (C) 1991,92,94,95,96,97,98,99,2000 Free Software Foundation, Inc.
> +/* Copyright (C) 1991,92,94,95,96,97,98,99,2000,2001 Free Software Foundation, Inc.
>     This file is part of the GNU C Library.
>  
>     The GNU C Library is free software; you can redistribute it and/or
> @@ -162,7 +162,7 @@ typedef unsigned int uint;
>  typedef	char int8_t;
>  typedef	short int int16_t;
>  typedef	int int32_t;
> -#  ifdef __GNUC__
> +#  if defined __GNUC__ || defined __PGI || defined __INTEL_COMPILER
>  __extension__ typedef long long int int64_t;
>  #  endif
>  # endif

Why don't you use the __GLIBC_HAVE_LONG_LONG macro here?

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------


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