Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
7f3074d1
Commit
7f3074d1
authored
Jul 15, 2003
by
Pierre d'Herbemont
Committed by
Alexandre Julliard
Jul 15, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change __PPC__ define to __powerpc__.
parent
601cdc93
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
7 deletions
+9
-7
basetsd.h
include/basetsd.h
+1
-1
rpc.h
include/rpc.h
+3
-1
winnt.h
include/winnt.h
+5
-5
No files found.
include/basetsd.h
View file @
7f3074d1
...
...
@@ -131,7 +131,7 @@ typedef ULONG_PTR SIZE_T, *PSIZE_T;
# define WORDS_BIGENDIAN
# define BITFIELDS_BIGENDIAN
# undef ALLOW_UNALIGNED_ACCESS
#elif defined(__
PPC
__)
#elif defined(__
powerpc
__)
# define WORDS_BIGENDIAN
# define BITFIELDS_BIGENDIAN
# undef ALLOW_UNALIGNED_ACCESS
...
...
include/rpc.h
View file @
7f3074d1
...
...
@@ -25,8 +25,10 @@
#ifndef __WINE_RPC_H
#define __WINE_RPC_H
#if defined(__
PPC
__) || defined(_MAC)
/* ? */
#if defined(__
powerpc
__) || defined(_MAC)
/* ? */
#define __RPC_MAC__
/* Also define __RPC_WIN32__ to ensure compatibility */
#define __RPC_WIN32__
#elif defined(_WIN64)
#define __RPC_WIN64__
#else
...
...
include/winnt.h
View file @
7f3074d1
...
...
@@ -805,7 +805,7 @@ typedef struct _CONTEXT
#endif
/* _MIPS_ */
/* PowerPC context definitions */
#ifdef __
PPC
__
#ifdef __
powerpc
__
#define CONTEXT_CONTROL 0x0001
#define CONTEXT_FLOATING_POINT 0x0002
...
...
@@ -929,7 +929,7 @@ typedef struct _STACK_FRAME_HEADER
DWORD
Parameter7
;
}
STACK_FRAME_HEADER
,
*
PSTACK_FRAME_HEADER
;
#endif
/* __
PPC
__ */
#endif
/* __
powerpc
__ */
#ifdef __ALPHA__
...
...
@@ -1179,7 +1179,7 @@ static DWORD __builtin_return_address(int p_iDepth)
#endif
/* __sparc__ */
#ifdef __
PPC
__
#ifdef __
powerpc
__
/* FIXME: use getcontext() to retrieve full 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 ) \
{ _GET_CONTEXT; fn( a1, a2, a3, a4, &context ); }
#endif
/* __
PPC
__ */
#endif
/* __
powerpc
__ */
#ifdef __ALPHA__
...
...
@@ -1637,7 +1637,7 @@ extern inline struct _TEB * WINAPI NtCurrentTeb(void);
extern
inline
struct
_TEB
*
WINAPI
NtCurrentTeb
(
void
)
{
struct
_TEB
*
teb
;
# ifdef __
darwin
__
# ifdef __
APPLE
__
__asm__
(
"
\t
mr %0, r13"
:
"=r"
(
teb
));
# else
__asm__
(
"
\t
mr %0, 2"
:
"=r"
(
teb
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment