[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gmp-devel
Subject:    [PATCH] incorrect __vxworks__ usage in longlong.h
From:       dje () watson ! ibm ! com (David Edelsohn)
Date:       2003-07-31 20:01:04
Message-ID: 200307312001.QAA30910 () makai ! watson ! ibm ! com
[Download RAW message or body]

>>>>> Kevin Ryde writes:

Kevin> David Edelsohn <dje@watson.ibm.com> writes:
>> 
>> !   || defined (__ppc__) || defined (PPC) || defined (__vxworks__)

Kevin> Ah, actually Torbjorn points out this is within a covering #if
Kevin> __powerpc__ and so isn't reached for non-powerpc vxworks.  Not that
Kevin> it's wanted, but at least it's not actively harmful.

	VxWorks apparently defines "PPC" for all target architectures.
All versions of GCC that I can check (GCC 2.95 to the present) define one
of the other macros in addition to "PPC", so removing that test seems
safe, but I am not familiar with all environments that may use longlong.h.

David


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic