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
c70ed78a
Commit
c70ed78a
authored
Nov 17, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Get rid of PowerPC support.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
61e210f1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
17 deletions
+2
-17
widl.c
tools/widl/widl.c
+1
-16
widl.h
tools/widl/widl.h
+1
-1
No files found.
tools/widl/widl.c
View file @
c70ed78a
...
...
@@ -96,10 +96,6 @@ static const char version_string[] = "Wine IDL Compiler version " PACKAGE_VERSIO
enum
target_cpu
target_cpu
=
CPU_x86
;
#elif defined(__x86_64__)
enum
target_cpu
target_cpu
=
CPU_x86_64
;
#elif defined(__powerpc64__)
enum
target_cpu
target_cpu
=
CPU_POWERPC64
;
#elif defined(__powerpc__)
enum
target_cpu
target_cpu
=
CPU_POWERPC
;
#elif defined(__arm__)
enum
target_cpu
target_cpu
=
CPU_ARM
;
#elif defined(__aarch64__)
...
...
@@ -227,9 +223,6 @@ static const struct
{
"i786"
,
CPU_x86
},
{
"amd64"
,
CPU_x86_64
},
{
"x86_64"
,
CPU_x86_64
},
{
"powerpc"
,
CPU_POWERPC
},
{
"powerpc64"
,
CPU_POWERPC64
},
{
"powerpc64le"
,
CPU_POWERPC64
},
{
"arm"
,
CPU_ARM
},
{
"armv5"
,
CPU_ARM
},
{
"armv6"
,
CPU_ARM
},
...
...
@@ -855,15 +848,7 @@ int main(int argc,char *argv[])
break
;
case
CPU_ARM64
:
if
(
pointer_size
==
4
)
target_cpu
=
CPU_ARM
;
pointer_size
=
8
;
break
;
case
CPU_POWERPC64
:
if
(
pointer_size
==
4
)
error
(
"Cannot build 32-bit code for this CPU
\n
"
);
pointer_size
=
8
;
break
;
default:
if
(
pointer_size
==
8
)
error
(
"Cannot build 64-bit code for this CPU
\n
"
);
pointer_size
=
4
;
else
pointer_size
=
8
;
break
;
}
...
...
tools/widl/widl.h
View file @
c70ed78a
...
...
@@ -77,7 +77,7 @@ extern int char_number;
enum
target_cpu
{
CPU_x86
,
CPU_x86_64
,
CPU_
POWERPC
,
CPU_ARM
,
CPU_ARM64
,
CPU_POWERPC64
,
CPU_LAST
=
CPU_POWERPC
64
CPU_x86
,
CPU_x86_64
,
CPU_
ARM
,
CPU_ARM64
,
CPU_LAST
=
CPU_ARM
64
};
extern
enum
target_cpu
target_cpu
;
...
...
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