Handle PGI/Intel Compilers
Ulrich Drepper
drepper@redhat.com
Thu Nov 15 01:58:00 GMT 2001
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 `------------------------
More information about the Libc-hacker
mailing list