[PATCH] incorrect __vxworks__ usage in longlong.h
David Edelsohn
dje@watson.ibm.com
Thu, 31 Jul 2003 16:01:04 -0400
>>>>> 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