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
fff313f1
Commit
fff313f1
authored
Apr 24, 2020
by
Jacek Caban
Committed by
Alexandre Julliard
Apr 24, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcirt: Use __ASM_BLOCK_BEGIN and __ASM_BLOCK_END macros.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
54104886
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
msvcirt.c
dlls/msvcirt/msvcirt.c
+2
-6
No files found.
dlls/msvcirt/msvcirt.c
View file @
fff313f1
...
...
@@ -199,9 +199,7 @@ extern const vtable_ptr MSVCP_strstream_vtable;
/* ??_7stdiostream@@6B@ */
extern
const
vtable_ptr
MSVCP_stdiostream_vtable
;
#ifndef __GNUC__
void
__asm_dummy_vtables
(
void
)
{
#endif
__ASM_BLOCK_BEGIN
(
vtables
)
__ASM_VTABLE
(
streambuf
,
VTABLE_ADD_FUNC
(
streambuf_vector_dtor
)
VTABLE_ADD_FUNC
(
streambuf_sync
)
...
...
@@ -270,9 +268,7 @@ void __asm_dummy_vtables(void) {
VTABLE_ADD_FUNC
(
iostream_vector_dtor
));
__ASM_VTABLE
(
stdiostream
,
VTABLE_ADD_FUNC
(
iostream_vector_dtor
));
#ifndef __GNUC__
}
#endif
__ASM_BLOCK_END
#define ALIGNED_SIZE(size, alignment) (((size)+((alignment)-1))/(alignment)*(alignment))
#define VBTABLE_ENTRY(class, offset, vbase) ALIGNED_SIZE(sizeof(class), TYPE_ALIGNMENT(vbase))-offset
...
...
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