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
5e12256e
Commit
5e12256e
authored
Jul 06, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winebuild: Add a specific platform id for Linux.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
c42384b5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
build.h
tools/winebuild/build.h
+1
-0
main.c
tools/winebuild/main.c
+3
-0
No files found.
tools/winebuild/build.h
View file @
5e12256e
...
...
@@ -152,6 +152,7 @@ enum target_platform
{
PLATFORM_UNSPECIFIED
,
PLATFORM_APPLE
,
PLATFORM_LINUX
,
PLATFORM_FREEBSD
,
PLATFORM_MINGW
,
PLATFORM_SOLARIS
,
...
...
tools/winebuild/main.c
View file @
5e12256e
...
...
@@ -67,6 +67,8 @@ enum target_cpu target_cpu = CPU_ARM64;
#ifdef __APPLE__
enum
target_platform
target_platform
=
PLATFORM_APPLE
;
#elif defined(__linux__)
enum
target_platform
target_platform
=
PLATFORM_LINUX
;
#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
enum
target_platform
target_platform
=
PLATFORM_FREEBSD
;
#elif defined(__sun)
...
...
@@ -132,6 +134,7 @@ static const struct
{
{
"macos"
,
PLATFORM_APPLE
},
{
"darwin"
,
PLATFORM_APPLE
},
{
"linux"
,
PLATFORM_LINUX
},
{
"freebsd"
,
PLATFORM_FREEBSD
},
{
"solaris"
,
PLATFORM_SOLARIS
},
{
"mingw32"
,
PLATFORM_MINGW
},
...
...
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