Ticket #51216: PPC_ppc.diff

File PPC_ppc.diff, 1.2 KB (added by ballapete (Peter "Pete" Dyballa), 9 years ago)

The *working* patch

  • include/libEMF/wine/winnt.

    old new  
    4949# define WORDS_BIGENDIAN
    5050# define BITFIELDS_BIGENDIAN
    5151# undef  ALLOW_UNALIGNED_ACCESS
    52 #elif defined(__PPC__)
     52#elif defined(__PPC__) || (__ppc__)
    5353# define WORDS_BIGENDIAN
    5454# define BITFIELDS_BIGENDIAN
    5555# undef  ALLOW_UNALIGNED_ACCESS
     
    11021102#endif  /* _MIPS_ */
    11031103
    11041104/* PowerPC context definitions */
    1105 #ifdef __PPC__
     1105#if defined(__PPC__) || (__ppc__)
    11061106
    11071107#define CONTEXT_CONTROL         0x0001
    11081108#define CONTEXT_FLOATING_POINT  0x0002
     
    12231223    DWORD Parameter7;
    12241224} STACK_FRAME_HEADER,*PSTACK_FRAME_HEADER;
    12251225
    1226 #endif  /* __PPC__ */
     1226#endif  /* __PPC__ || __ppc__ */
    12271227
    12281228#ifdef __sparc__
    12291229
     
    15701570
    15711571#endif /* __s390__ */
    15721572
    1573 #ifdef __PPC__
     1573#if defined(__PPC__) || (__ppc__)
    15741574
    15751575/* FIXME: use getcontext() to retrieve full context */
    15761576#define _GET_CONTEXT \
     
    15951595  void WINAPI name ( t1 a1, t2 a2, t3 a3, t4 a4 ) \
    15961596  { _GET_CONTEXT; fn( a1, a2, a3, a4, &context ); }
    15971597
    1598 #endif /* __PPC__ */
     1598#endif /* __PPC__ || __ppc__ */
    15991599
    16001600
    16011601#ifndef DEFINE_REGS_ENTRYPOINT_0