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
cd360cc0
Commit
cd360cc0
authored
Jul 03, 2008
by
Maarten Lankhorst
Committed by
Alexandre Julliard
Nov 26, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tools: Add calling conventions for win64 to winegcc.
parent
39d80a3c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
winegcc.c
tools/winegcc/winegcc.c
+8
-1
No files found.
tools/winegcc/winegcc.c
View file @
cd360cc0
...
...
@@ -287,7 +287,14 @@ static void compile(struct options* opts, const char* lang)
if
(
gcc_defs
)
{
#ifdef __APPLE__
/* Mac OS X uses a 16-byte aligned stack and not a 4-byte one */
#ifdef __x86_64__
strarray_add
(
comp_args
,
"-D__stdcall=__attribute__((ms_abi))"
);
strarray_add
(
comp_args
,
"-D__cdecl=__attribute__((ms_abi))"
);
strarray_add
(
comp_args
,
"-D_stdcall=__attribute__((ms_abi))"
);
strarray_add
(
comp_args
,
"-D_cdecl=__attribute__((ms_abi))"
);
strarray_add
(
comp_args
,
"-D__fastcall=__attribute__((ms_abi))"
);
strarray_add
(
comp_args
,
"-D_fastcall=__attribute__((ms_abi))"
);
#elif defined(__APPLE__)
/* Mac OS X uses a 16-byte aligned stack and not a 4-byte one */
strarray_add
(
comp_args
,
"-D__stdcall=__attribute__((__stdcall__)) __attribute__((__force_align_arg_pointer__))"
);
strarray_add
(
comp_args
,
"-D__cdecl=__attribute__((__cdecl__)) __attribute__((__force_align_arg_pointer__))"
);
strarray_add
(
comp_args
,
"-D_stdcall=__attribute__((__stdcall__)) __attribute__((__force_align_arg_pointer__))"
);
...
...
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