mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 16:43:38 +00:00
msvcrt: Don't define type_info structures as const so we can set demangled class name.
Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
f7eabdf3a8
commit
7274ed63e2
|
@ -68,7 +68,7 @@
|
|||
#ifndef __x86_64__
|
||||
|
||||
#define DEFINE_RTTI_DATA(name, off, base_classes_no, cl1, cl2, cl3, cl4, cl5, cl6, cl7, cl8, cl9, mangled_name) \
|
||||
static const type_info name ## _type_info = { \
|
||||
static type_info name ## _type_info = { \
|
||||
&MSVCP_type_info_vtable, \
|
||||
NULL, \
|
||||
mangled_name \
|
||||
|
@ -140,7 +140,7 @@ static const cxx_exception_type type ## _cxx_type = { \
|
|||
#else
|
||||
|
||||
#define DEFINE_RTTI_DATA(name, off, base_classes_no, cl1, cl2, cl3, cl4, cl5, cl6, cl7, cl8, cl9, mangled_name) \
|
||||
static const type_info name ## _type_info = { \
|
||||
static type_info name ## _type_info = { \
|
||||
&MSVCP_type_info_vtable, \
|
||||
NULL, \
|
||||
mangled_name \
|
||||
|
|
|
@ -67,7 +67,7 @@
|
|||
#ifndef __x86_64__
|
||||
|
||||
#define DEFINE_RTTI_DATA(name, off, base_classes_no, cl1, cl2, cl3, cl4, cl5, cl6, cl7, cl8, cl9, mangled_name) \
|
||||
static const type_info name ## _type_info = { \
|
||||
static type_info name ## _type_info = { \
|
||||
&MSVCRT_type_info_vtable, \
|
||||
NULL, \
|
||||
mangled_name \
|
||||
|
@ -113,7 +113,7 @@ const rtti_object_locator name ## _rtti = { \
|
|||
#else
|
||||
|
||||
#define DEFINE_RTTI_DATA(name, off, base_classes_no, cl1, cl2, cl3, cl4, cl5, cl6, cl7, cl8, cl9, mangled_name) \
|
||||
static const type_info name ## _type_info = { \
|
||||
static type_info name ## _type_info = { \
|
||||
&MSVCRT_type_info_vtable, \
|
||||
NULL, \
|
||||
mangled_name \
|
||||
|
|
Loading…
Reference in a new issue