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


Ulrich Drepper <drepper@redhat.com> writes:

> 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?

I forgot to save that file when I made the patch, I'll use the macro
in the final patch.

Ok to commit with that change?

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


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