Commit fff313f1 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

msvcirt: Use __ASM_BLOCK_BEGIN and __ASM_BLOCK_END macros.

parent 54104886
...@@ -199,9 +199,7 @@ extern const vtable_ptr MSVCP_strstream_vtable; ...@@ -199,9 +199,7 @@ extern const vtable_ptr MSVCP_strstream_vtable;
/* ??_7stdiostream@@6B@ */ /* ??_7stdiostream@@6B@ */
extern const vtable_ptr MSVCP_stdiostream_vtable; extern const vtable_ptr MSVCP_stdiostream_vtable;
#ifndef __GNUC__ __ASM_BLOCK_BEGIN(vtables)
void __asm_dummy_vtables(void) {
#endif
__ASM_VTABLE(streambuf, __ASM_VTABLE(streambuf,
VTABLE_ADD_FUNC(streambuf_vector_dtor) VTABLE_ADD_FUNC(streambuf_vector_dtor)
VTABLE_ADD_FUNC(streambuf_sync) VTABLE_ADD_FUNC(streambuf_sync)
...@@ -270,9 +268,7 @@ void __asm_dummy_vtables(void) { ...@@ -270,9 +268,7 @@ void __asm_dummy_vtables(void) {
VTABLE_ADD_FUNC(iostream_vector_dtor)); VTABLE_ADD_FUNC(iostream_vector_dtor));
__ASM_VTABLE(stdiostream, __ASM_VTABLE(stdiostream,
VTABLE_ADD_FUNC(iostream_vector_dtor)); VTABLE_ADD_FUNC(iostream_vector_dtor));
#ifndef __GNUC__ __ASM_BLOCK_END
}
#endif
#define ALIGNED_SIZE(size, alignment) (((size)+((alignment)-1))/(alignment)*(alignment)) #define ALIGNED_SIZE(size, alignment) (((size)+((alignment)-1))/(alignment)*(alignment))
#define VBTABLE_ENTRY(class, offset, vbase) ALIGNED_SIZE(sizeof(class), TYPE_ALIGNMENT(vbase))-offset #define VBTABLE_ENTRY(class, offset, vbase) ALIGNED_SIZE(sizeof(class), TYPE_ALIGNMENT(vbase))-offset
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment