mirror of
git://source.winehq.org/git/wine.git
synced 2024-07-21 20:54:09 +00:00
Change __PPC__ define to __powerpc__.
This commit is contained in:
parent
601cdc939c
commit
7f3074d1d4
|
@ -131,7 +131,7 @@ typedef ULONG_PTR SIZE_T, *PSIZE_T;
|
||||||
# define WORDS_BIGENDIAN
|
# define WORDS_BIGENDIAN
|
||||||
# define BITFIELDS_BIGENDIAN
|
# define BITFIELDS_BIGENDIAN
|
||||||
# undef ALLOW_UNALIGNED_ACCESS
|
# undef ALLOW_UNALIGNED_ACCESS
|
||||||
#elif defined(__PPC__)
|
#elif defined(__powerpc__)
|
||||||
# define WORDS_BIGENDIAN
|
# define WORDS_BIGENDIAN
|
||||||
# define BITFIELDS_BIGENDIAN
|
# define BITFIELDS_BIGENDIAN
|
||||||
# undef ALLOW_UNALIGNED_ACCESS
|
# undef ALLOW_UNALIGNED_ACCESS
|
||||||
|
|
|
@ -25,8 +25,10 @@
|
||||||
#ifndef __WINE_RPC_H
|
#ifndef __WINE_RPC_H
|
||||||
#define __WINE_RPC_H
|
#define __WINE_RPC_H
|
||||||
|
|
||||||
#if defined(__PPC__) || defined(_MAC) /* ? */
|
#if defined(__powerpc__) || defined(_MAC) /* ? */
|
||||||
#define __RPC_MAC__
|
#define __RPC_MAC__
|
||||||
|
/* Also define __RPC_WIN32__ to ensure compatibility */
|
||||||
|
#define __RPC_WIN32__
|
||||||
#elif defined(_WIN64)
|
#elif defined(_WIN64)
|
||||||
#define __RPC_WIN64__
|
#define __RPC_WIN64__
|
||||||
#else
|
#else
|
||||||
|
|
|
@ -805,7 +805,7 @@ typedef struct _CONTEXT
|
||||||
#endif /* _MIPS_ */
|
#endif /* _MIPS_ */
|
||||||
|
|
||||||
/* PowerPC context definitions */
|
/* PowerPC context definitions */
|
||||||
#ifdef __PPC__
|
#ifdef __powerpc__
|
||||||
|
|
||||||
#define CONTEXT_CONTROL 0x0001
|
#define CONTEXT_CONTROL 0x0001
|
||||||
#define CONTEXT_FLOATING_POINT 0x0002
|
#define CONTEXT_FLOATING_POINT 0x0002
|
||||||
|
@ -929,7 +929,7 @@ typedef struct _STACK_FRAME_HEADER
|
||||||
DWORD Parameter7;
|
DWORD Parameter7;
|
||||||
} STACK_FRAME_HEADER,*PSTACK_FRAME_HEADER;
|
} STACK_FRAME_HEADER,*PSTACK_FRAME_HEADER;
|
||||||
|
|
||||||
#endif /* __PPC__ */
|
#endif /* __powerpc__ */
|
||||||
|
|
||||||
#ifdef __ALPHA__
|
#ifdef __ALPHA__
|
||||||
|
|
||||||
|
@ -1179,7 +1179,7 @@ static DWORD __builtin_return_address(int p_iDepth)
|
||||||
|
|
||||||
#endif /* __sparc__ */
|
#endif /* __sparc__ */
|
||||||
|
|
||||||
#ifdef __PPC__
|
#ifdef __powerpc__
|
||||||
|
|
||||||
/* FIXME: use getcontext() to retrieve full context */
|
/* FIXME: use getcontext() to retrieve full context */
|
||||||
#define _GET_CONTEXT \
|
#define _GET_CONTEXT \
|
||||||
|
@ -1204,7 +1204,7 @@ static DWORD __builtin_return_address(int p_iDepth)
|
||||||
void WINAPI name ( t1 a1, t2 a2, t3 a3, t4 a4 ) \
|
void WINAPI name ( t1 a1, t2 a2, t3 a3, t4 a4 ) \
|
||||||
{ _GET_CONTEXT; fn( a1, a2, a3, a4, &context ); }
|
{ _GET_CONTEXT; fn( a1, a2, a3, a4, &context ); }
|
||||||
|
|
||||||
#endif /* __PPC__ */
|
#endif /* __powerpc__ */
|
||||||
|
|
||||||
#ifdef __ALPHA__
|
#ifdef __ALPHA__
|
||||||
|
|
||||||
|
@ -1637,7 +1637,7 @@ extern inline struct _TEB * WINAPI NtCurrentTeb(void);
|
||||||
extern inline struct _TEB * WINAPI NtCurrentTeb(void)
|
extern inline struct _TEB * WINAPI NtCurrentTeb(void)
|
||||||
{
|
{
|
||||||
struct _TEB *teb;
|
struct _TEB *teb;
|
||||||
# ifdef __darwin__
|
# ifdef __APPLE__
|
||||||
__asm__("\tmr %0, r13" : "=r" (teb));
|
__asm__("\tmr %0, r13" : "=r" (teb));
|
||||||
# else
|
# else
|
||||||
__asm__("\tmr %0, 2" : "=r" (teb));
|
__asm__("\tmr %0, 2" : "=r" (teb));
|
||||||
|
|
Loading…
Reference in a new issue